[Rails 3.1rc4] accepts_nested_attributes & attr_accessible :as => :role

I have an object that accepts nested attributes for a child object, both objects have :attr_accessible setup with the same roles defined.

When I pass in the attributes for the child object I was hoping that it would trigger the attr_accessible for the same role, i,e. the role would flow down the chain.

This does not seem to be the case, should it?

I think I've fixed this already - can you confirm?

https://github.com/rails/rails/issues/1673

Andrew

I will try and get back to you