1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Andrew White 9b84567fd4 Check whether Rails.application defined before calling it
In #27674 we changed the migration generator to generate migrations at
the path defined in `Rails.application.config.paths` however the code
checked for the presence of the `Rails` constant but not the
`Rails.application` method which caused problems when using Active
Record and generators outside of the context of a Rails application.

Fixes #28325.
2017-03-07 10:20:21 +00:00
..
active_record Merge pull request #28305 from kamipo/extract_schema_migration_all_versions 2017-03-06 12:09:23 +00:00
rails/generators Check whether Rails.application defined before calling it 2017-03-07 10:20:21 +00:00
active_record.rb Merge pull request #27849 from joevandyk/patch-2 2017-01-31 00:20:23 -05:00