Paul Jensen
Developer, New Bamboo · Not a member
Paul Jensen's latest activity
Friday, October 16 2009
3383
Nested attributes for ignores default scope on child model
was updated
in Ruby on Rails
-
- Assigned user cleared.
Hi Eloy,
Thanks for looking at the ticket, and pointing me in the right direction. My assertion is that a default scope should filter through to all collections...
-
Paul Jensen created the ticket at 1:55 PMWhen you setup a nested form for a parent model, the default scope for the child models are ignored.
E.g.
class Package < ActiveRecord::Base has_many :produc...