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.