2009/11/11 Newb Newb <[email protected]>:
>
> Using  my application i can able to  save a new record into my db
> but i cannot update a existing record into my db.
> using update query i can able to update my records.
> but using update_attributes it doesnot update my records.
> even i cant find any errors in logs or something.
> throughout my application i can able to save a new record but unable to
> update my existing records.
> actually i have changed my application to new db.since then i face these
> issues.
> before changing the db the application was working fine..
> so wat would be problem in my database or something...where i have to
> lookup
> Kindly Provide Me Your Views for my issue..
>

Please post the code which attempts to update the record.
If you are using update_attributes what return value is it giving.
Is it possible that you have validations that are failing?

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to