Sure here you go: 
http://github.com/rails/rails/blob/master/activerecord/lib/active_record/autosave_association.rb
It was part of the NestedAttributes patch so it wasn't the most  
interesting feature from that patch I guess :)

Eloy

On Mar 11, 2009, at 4:02 PM, Ryan Angilly wrote:

> I've been trying to keep up to speed on all the stuff going into  
> 2.3, but I missed mention of "the new autosave feature".  Google  
> only returns links to lighthouse tickets that aren't very  
> explanatory.  Could someone link me to it?
>
> On Wed, Mar 11, 2009 at 10:49 AM, Jacob <[email protected]> wrote:
>
> I've been having a lot of issues with the new autosave feature in 2.3
> I could easily workaround most of these issues if I had the ability to
> explicitly disable autosave for certain relationships in such a way
> that would override the autosave that happens when the association is
> a "new_record?"
>
> Discussion is here: http://rails.lighthouseapp.com/projects/8994/tickets/2144
>
> I am working on a patch and will be filing a separate ticket for it
> shortly.
>
> On Mar 9, 8:03 am, Pratik <[email protected]> wrote:
> > Hey all,
> >
> > As  2.3 RC2 is out, the plan is to have the 2.3 final release out as
> > early as possible. So we'd like to make the last call for patches.  
> If
> > you have any pending patches that you want in 2.3 final release,
> > please speak now. Not very keen on accepting refactoring patches or
> > new features at this point as they can wait. But if there are any
> > critical bug fixes or anything that should block the release, do  
> post
> > it in the replies.
> >
> > Thanks for all the contributions. 2.3 is looking really solid !
> >
> > --
> > Cheers!
> > - Pratikhttp://m.onkey.org
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to