Report question

Question: How to reflect in the database a new belongs_to and has_many relationship in Ruby on Rails