Skip to content


Subversion checkout URL

You can clone with
Download ZIP


nifty does not check if the model name is permitted #148

zeliboba opened this Issue · 0 comments

1 participant


if you have an application named Car (i.e. created by rails new Car), nifty generators allow to create a Car model, which will not work since Car module is already defined
~/Sources/Car$ rails g nifty:scaffold Car url:string

the standard generators will not allow this:
~/Sources/Car$ rails g scaffold Car url:string
invoke active_record
The name 'Car' is either already used in your application or reserved by Ruby on Rails. Please choose an alternative and run this generator again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.