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

Preserve up and down return type #27596

Merged
merged 1 commit into from Jan 7, 2017

Conversation

schneems
Copy link
Member

@schneems schneems commented Jan 6, 2017

In Rails 4.2 calling ActiveRecord::Migrator.migrate would return an array of results. Without realizing that this return type was expected I accidentally introduced a change in 4d60e93

This PR preserves the previous behavior and adds a test on the return type. This will need a backport to 5.0 branch.

In Rails 4.2 calling `ActiveRecord::Migrator.migrate` would return an array of results. Without realizing that this return type was expected I accidentally introduced a change in rails@4d60e93

This PR preserves the previous behavior and adds a test on the return type. This will need a backport to 5.0 branch.
@schneems schneems merged commit 7b13236 into rails:master Jan 7, 2017
prathamesh-sonpatki added a commit to prathamesh-sonpatki/rails that referenced this pull request Jan 7, 2017
- rails#27596 Updated "run" and "migrate" method for returning correct
   value but only added test for "migrate" method. This commit adds a
   test for "run" as well.
spastorino added a commit that referenced this pull request Jan 8, 2017
Followup of #27596, test output of "run" method as well
schneems pushed a commit to schneems/rails that referenced this pull request Jan 9, 2017
- rails#27596 Updated "run" and "migrate" method for returning correct
   value but only added test for "migrate" method. This commit adds a
   test for "run" as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants