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