title: How do I setup a has_many to make an object have multiple variables?
body: <p>I'm trying to get hobby to have a relation with weekday. I also want the weekday to have variables for each day of the week (sunday, monday, tues, etc). How would I set this up? I believe I am supposed to put a has_many statement in my models/user.rb</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    has_many :weekdays
  end
  </code></pre>
  
  <p>And a belongs_to in my hobby.rb</p>
  
  <pre><code>class Hobby &lt; ActiveRecord::Base
     belongs_to :user
  end
  </code></pre>
  
  <p>How would I go about doing this? I really need a quick solution.</p>