Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi revert #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Multi revert #23

wants to merge 3 commits into from

Conversation

comexpressao
Copy link
Contributor

1. prerendering_spec was failing in Chromium

  • Updated tests so that they differentiate from each other

2. When changing multiple attributes on a record and then reverting; it only reverts every other attribute

  • Added a test to change multiple attributes
  • Changes revert in base.rb to use a dup of @changed_attributes (when attributes are synced they are taken out of @changed_attributes which was causing the wrong attribute to be selected and therefore missing the revert of every other one).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants