> There is a known bug if you retrieve an object through a belongs_to
> relation that saving the object won't work.

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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to