rails g scaffold room name
 rails g scaffold category name
rails g scaffold room_cateogory name
rails g scaffold device name type on:boolean room_category:references