On Thu, Nov 6, 2008 at 2:03 PM, felix <[EMAIL PROTECTED]> wrote: > could it possibly affect a single object, not pulled through an > association? This is basically my code: > > def update(slug) > @listing = Listing.first(:slug.eql => slug) > @listing.attributes = params[:listing] > if @listing.save > # this code is reached but @listing is unchanged > else > ... > end > end
I've never seen this go wrong actually... Have you been able to investigate it further? -- Regards, Dirkjan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
