Displaying 1 result from an estimated 1 matches for "budget_plans".
2008 Mar 12
2
Building a view for a 3 model has_many relationship
I''m working with three models:
- Charge. has_many :budget_plans
- BudgetPlan. belongs_to :charges, :rollups
- Rollup. has_many :budget_plans
This works out perfectly. A budget plan contains the ID of a charge and
rollup and then there''s a 3rd attribute for hours. So working with data
is no problem.
My budget plan scaffold works nicely so I can sele...