Fixed method rails_loaded? for when Rails is defined but no application is actually loaded.
Merge pull request #137 from parndt/patch-1

Fixed method rails_loaded? for when Rails is defined but no application is actually loaded