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

Stable migrations version order #3476

Closed
wants to merge 1,340 commits into from

Conversation

rud
Copy link
Contributor

@rud rud commented Oct 31, 2011

dump_schema_information: now explicitly orders inserts into schema_migrations table by version value

We use active_record.schema_format = :sql as our schema dump format, and the db/development_structure.sql sees quite a bit of trivial churn in the git history due to migrations having run in different orders, as migrations are created on different feature branches over time. With this trivial fix, only added/removed migrations will create changes to the schema dump file.

The complete activerecord test suite with all database drivers pass with this change. Unfortunately, that doesn't say a big deal, as dump_schema_information is only called by the db:structure:dump rake-task. Local manual testing does confirm the change, though.

Suggestions for tests to add?

arunagw and others added 30 commits September 4, 2011 09:32
backtrace, because JRuby reports the call 
to __send__ in the backtrace.

In JRuby first is "org/jruby/RubyKernel.java"
…1-stable

Jruby activesupport fix 3 1 stable for JRuby
Add entry about Asset behaviour fix to ActionPack ChangeLog
Never return stored content from content_for when a block is given
Remove unused config variable from test.rb template
…ct_options!`

`ActiveSupport::OrderedHash` is actually a subclass of the hash, so it does make sense that it should be extractable from the array list.
…ered_hash

Make `ActiveSupport::OrderedHash` extractable when using `Array#extract_options!`
Fix bad options order in AR::Migration::CommandRecorder#invert_rename_index
…s they have been failing intermittently for a long while due to what appears to be a Ruby bug. If anyone has the skills/expertise/time to debug this, please speak to the Travis guys.
…_broken_yaml_exception in fixtures_test.rb on Ruby 1.8.7.
mjtko and others added 27 commits October 4, 2011 23:05
…ng-the-sequel

assets rake task refactoring work - the sequel
ruby193: String#prepend for 3-1-stable
…oesn't throw Sprockets::FileOutsidePaths exception anymore
An association between two models cannot be made if a relevant key is
unknown, so fail fast rather than generating invalid SQL. Fixes rails#3207.
Signed-off-by: José Valim <jose.valim@gmail.com>
…ure task.

Leaving the path unquoted causes errors in paths containing spaces or dashes.
…erver configuration for gzipped assets pending)
…d assets, and expands the information about nginx support for this

A robust Apache configuration for this feature seems to be tricky,
one that takes into account Accept-Encoding, sets Vary, ensures
Content-Type is right, etc.
@rud rud closed this Oct 31, 2011
@rud
Copy link
Contributor Author

rud commented Oct 31, 2011

Sorry about this bogus pull request.

…ons table

This reduces churn in the db/development_structure.sql file when using :sql as
active_record.schema_format, and makes comparing diffs much easier.
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