Answers for "generate model in rails"

2

rails g model

$ rails generate model Article title:string text:text
Posted by: Guest on October-02-2020
0

rails generate model

rails generate model Article title:string body:text


[Output]

invoke  active_record
create    db/migrate/<timestamp>_create_articles.rb
create    app/models/article.rb
invoke    test_unit
create      test/models/article_test.rb
create      test/fixtures/articles.yml
Posted by: Guest on August-30-2021
0

creating model in ruby on rails

rails generate model T name:string body:text
Posted by: Guest on July-20-2021
0

how to create new rails app

#first make sure you have rails installed, then...
rails new your_new_rails_app_name
Posted by: Guest on September-18-2020

Code answers related to "generate model in rails"

Browse Popular Code Answers by Language