Hi All, I have a active record object(FIRST) with some attributes. I have another activerecord object(SECOND) with different attributes.
I want to compare those two active record objects whether they have equal values in every field or not. I tried like actual.attributes == existing.attributes But this one is related to same attribute names, But i have different attribute names in activerecord objects. Could you help me in this. I was struck with this issue. -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.