Ruby on Rails - How to represent "has_many" with enums? -
what's best solution in rails 3.2 app represent this:
appointment = appointment.first appointment.days_of_the_week = [monday, friday]
you can have @ embedded association railscast ryan bates explains how use bitmasks avoid use of table, think idea in case.
Comments
Post a Comment