KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Need to check if a block of attributes has changed before update in Rails 3. street1, street2, city, state, zipcode I know I could use something like if @user.street1 != params[:user][:street1] then do something.... end But that piece of code will be REALLY long. Is there a cleaner way?
Tags (comma-separated)
Save Edits
Cancel