Open aerison opened 6 years ago
$ rails g devise users
채팅: model
-채팅방: 채팅내용(1:n) $ rails g scaffold chat_room title master_id max_count:integer admission_count:integer
$ rails g model chat user:references chat_room:references message:text -채팅방:사람(m:n) $ rails g model admission user:references chat_room:references
chat room 마이그레이션에 default값 수정하고 나면 $ rake db:migrate
https://pusher.com/ 가입하기!
$ rails 4.2.10 new chatservice $ bundle install $ figaro install $ rails g devise:install