Merge pull request #9083 from bronson/patch-1

avoid using alias in generators
This commit is contained in:
Rafael Mendonça França 2014-05-24 13:30:51 -03:00
commit fd552e597c
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ module Rails
protected
attr_reader :file_name
alias :singular_name :file_name
def singular_name
file_name
end
# Wrap block with namespace of current application
# if namespace exists and is not skipped