diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-28 16:55:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-28 16:55:31 -0700 |
commit | faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0 (patch) | |
tree | f41be53d4dc60eb1aacff09076af0e1640b6f9d4 /railties | |
parent | f18cf8e4884529f28d19f118abd0b46c99bd8cfa (diff) | |
download | rails-faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0.tar.gz rails-faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0.tar.bz2 rails-faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0.zip |
always call set_default_accessors from create_root
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 77995c9c5b..c24d9fdffc 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -96,6 +96,7 @@ module Rails end def create_root + set_default_accessors! valid_const? empty_directory '.' |