Answers for "how to generate model in rails"

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

Code answers related to "how to generate model in rails"

Browse Popular Code Answers by Language