rails build method for complex model with days of the week
I have a set of nested models for storing prices for individual rooms.
Ie.
Places
Rooms
Room_rates
Each model has the necessary accepts_nested_attributes_for and has_many belongs_to association an
问答
阅读(2)