Answers for "rails model create"

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

Browse Popular Code Answers by Language