rails g model
$ rails generate model Article title:string text:text
rails g model
$ rails generate model Article title:string text:text
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
creating model in ruby on rails
rails generate model T name:string body:text
how to create new rails app
#first make sure you have rails installed, then...
rails new your_new_rails_app_name
rails controller generator
$ rails generate controller Welcome index
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us