Hey, I assume this works for linked associations? (Embedded ones automatically accept nested attributes). Looking forward to seeing :reject_if for both linked and embedded.
Thanks! Adam On Sep 1, 2010, at 9:32 PM, Brian Kaney wrote: > Hey Everyone, > > I am very excited about the new `one` and `many` relationships, and put > together a first pass of an implementation of > accepts_nested_attributes_for[1] (see the rdoc[2]). > > [1]:http://github.com/bkaney/ripple/commits/anaf > > [2]:http://github.com/bkaney/ripple/blob/anaf/ripple/lib/ripple/nested_attributes.rb > > I want to use `fields_for` and the rails machinery for ANAF, as I feel is it > a very critical and reusable tool for app development. > > I haven't implemented :reject_if or :allow_delete options, but plan to in the > near future. I was hoping to get some eyes and critiques on this very early > first pass. > > > -- > Brian > > > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
