We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails g model User name:string
will generate migration as shown below.
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.timestamps null: false end end end
In Rails 5 the same command will generate following migration.
class CreateUsers < ActiveRecord::Migration[5.0] def change create_table :users do |t| t.string :name t.timestamps end end end
The text was updated successfully, but these errors were encountered:
hey @bronzdoc I think you mixed the title of the issue with the description of another issue here
Sorry, something went wrong.
@arielj fixed it 👍
bronzdoc
No branches or pull requests
rails g model User name:string
will generate migration as shown below.
In Rails 5 the same command will generate following migration.
The text was updated successfully, but these errors were encountered: