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

Ensure engine migrations are copied in correct sequence #1567

Closed
wants to merge 2 commits into from

Conversation

BDQ
Copy link
Contributor

@BDQ BDQ commented Jun 8, 2011

Currently rake railties:install:migrations copies & re-numbers migrations from engines in a random order. This commit ensures that they are copied in the same sequence that they are required.

@josevalim
Copy link
Contributor

Could we have tests?

@BDQ
Copy link
Contributor Author

BDQ commented Jun 8, 2011

I couldn't find anything covering that rake task already, and I was weary about adding a complicated test for a single line change. I'll revisit the test for it.

@josevalim
Copy link
Contributor

@BDQ
Copy link
Contributor Author

BDQ commented Jun 10, 2011

@josevalim - I've updated the test, thanks for pointing out that existing one.

@josevalim
Copy link
Contributor

Github says I cannot apply your pull request anymore, could you please rebase?

@BDQ
Copy link
Contributor Author

BDQ commented Jun 10, 2011

@josevalim - done.

@josevalim
Copy link
Contributor

Sweet! Could you also provide a pull request for 3-1-stable in case you want it merged on 3-1?

@josevalim
Copy link
Contributor

Merged.

@josevalim josevalim closed this Jun 10, 2011
jake3030 pushed a commit to jake3030/rails that referenced this pull request Jun 28, 2011
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.

None yet

2 participants