Open vovs03 opened 5 years ago
Please choose a generator below.
Rails:
assets
channel
controller
generator
helper
integration_test
jbuilder
job
mailer
migration
model
resource
responders_controller
scaffold
scaffold_controller
system_test
task
ActiveRecord:
active_record:devise
Coffee:
coffee:assets
Devise:
devise
devise:controllers
devise:install
devise:views
Js:
js:assets
Mongoid:
mongoid:devise
Responders:
responders:install
TestUnit:
test_unit:generator
test_unit:plugin
Создание атрибутов модели фото (описание) 2:43
rails generate scaffold photo description:string
Запуск миграции
rake db:migrate
:warning: Забыл в коммит
commit da187550ead9940685d63d6ea34fe559033f1b46
Author: Vladimir Pavlychev <vladimir.pavlychev@osarts.ru>
Date: Thu Dec 6 10:21:42 2018 +0300
Upd: :recycle: :penguin: using RVM
Добавить ссылку #18
10.1 - Создание модели Photo