You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
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
~/Sources/Car$
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
~/Sources/Car$
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.
The text was updated successfully, but these errors were encountered: