Champs,

Actually the scenario is:-
I am updating attributes for a record in a condition.. And then i am
flashing a message stating that record updated .. But the thing is even
if i dont update nething .. i mean the if i'll enter the same data as
previous one then also giving me as updated ..

So, Can neone let me know that how can i find the number of rows/columns
affected after executing a query in rails ..

Looking for u guyz ..

Cheers ..
-- 
Posted via http://www.ruby-forum.com/.

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