Permalink
Browse files

always call set_default_accessors from create_root

  • Loading branch information...
1 parent f18cf8e commit faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0 @tenderlove tenderlove committed Oct 28, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/app_base.rb
@@ -96,6 +96,7 @@ def build(meth, *args)
end
def create_root
+ set_default_accessors!
valid_const?
empty_directory '.'

1 comment on commit faa1b82

Contributor

rubys commented on faa1b82 Oct 30, 2013

This commit is causing the Agile Web Development with Rails tests to fail.

Starting with this commit, rails new demo creates a demo/demo directory, and puts the application in there. Before this commit, the directory was simply named demo.

Please sign in to comment.