Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use . instead of :: for class methods, add CHANGELOG entries | José Valim | 2012-06-10 | 1 | -2/+2 |
| | |||||
* | Merge pull request #6665 from schneems/schneems/raise-migration-error | José Valim | 2012-06-10 | 1 | -0/+15 |
|\ | | | | | Notify A User they Have Pending Migrations | ||||
| * | raise error for pending migration | schneems | 2012-06-09 | 1 | -2/+2 |
| | | | | | | can be configured by setting config.active_record.migration. Setting to :page_load will raise an error on each page refresh if there are migrations that are pending. Setting to :page_load is defaulted in development for new applications. | ||||
| * | add convenience methods for checking migrations | schneems | 2012-06-03 | 1 | -0/+15 |
| | | | | | | if a rails project needs to be migrated ActiveRecord::Migrator.needs_migration? will be true or false if the current version matches the last version. | ||||
* | | Fix fragile #assert_queries implementation and usages. | Steve Jorgensen | 2012-06-09 | 1 | -1/+1 |
|/ | | | | | | | | | Several tests that passed when run in the order they are loaded by rake test were failing when run in different sequences due to problems with the implementation of assert_queries and assert_no_queries as well as incorrect assumptions made about how many queries might be executed by a database adapter in various cases. | ||||
* | port some mocha to minitest/mock | Aaron Patterson | 2012-05-18 | 1 | -222/+0 |
| | |||||
* | Integer limit out of range should be allowed to raise. Closes #6272 | Erich Menge | 2012-05-16 | 1 | -2/+23 |
| | |||||
* | Refactored remove_column | Edgars Beigarts | 2012-05-02 | 1 | -2/+2 |
| | |||||
* | remove calls to find(:first), find(:last) and find(:all) | Jon Leighton | 2012-04-26 | 1 | -8/+8 |
| | |||||
* | Automatically create indexes for references/belongs_to statements in migrations. | Joshua Wood | 2012-04-14 | 1 | -0/+1 |
| | |||||
* | Fix ORA-00972 error at test_rename_table_with_prefix_and_suffix | Yasuo Honda | 2012-04-13 | 1 | -4/+4 |
| | |||||
* | moving ordered hash to normal hash because ruby 1.9.3 hash defaultly ordered one | Karunakar (Ruby) | 2012-02-09 | 1 | -5/+5 |
| | |||||
* | stop more ddl changes | Aaron Patterson | 2012-01-16 | 1 | -14/+0 |
| | |||||
* | stop ddl modifications for another test | Aaron Patterson | 2012-01-16 | 1 | -12/+0 |
| | |||||
* | stop making ddl changes for migrator tests | Aaron Patterson | 2012-01-16 | 1 | -55/+0 |
| | |||||
* | move another migrator to use sensors | Aaron Patterson | 2012-01-16 | 1 | -12/+0 |
| | |||||
* | moving verbosity tests to the migrator test, removing ddl changes | Aaron Patterson | 2012-01-16 | 1 | -18/+0 |
| | |||||
* | silencing migrator tests, refactoring the migration test helper | Aaron Patterson | 2012-01-16 | 1 | -22/+1 |
| | |||||
* | fix tests on sqlite3 | Aaron Patterson | 2012-01-16 | 1 | -0/+4 |
| | |||||
* | prefer method sensors over actual ddl changes | Aaron Patterson | 2012-01-16 | 1 | -69/+0 |
| | |||||
* | test that migrations have connections, and method missing delegates | Aaron Patterson | 2012-01-16 | 1 | -7/+16 |
| | |||||
* | making sure the temp connection and the real connection are different after dup | Aaron Patterson | 2012-01-16 | 1 | -3/+3 |
| | |||||
* | stop depending on the filesystem for interleaved migration tests | Aaron Patterson | 2012-01-13 | 1 | -21/+0 |
| | |||||
* | refactor the migrate method to filter migrations before running them | Aaron Patterson | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | move schema dumper tests to the correct class | Aaron Patterson | 2012-01-13 | 1 | -9/+0 |
| | |||||
* | move another migrator test, use schema migration model | Aaron Patterson | 2012-01-13 | 1 | -10/+0 |
| | |||||
* | move another migrator test to the correct class | Aaron Patterson | 2012-01-13 | 1 | -11/+0 |
| | |||||
* | moving more migrator tests to the right test case | Aaron Patterson | 2012-01-13 | 1 | -40/+0 |
| | |||||
* | test code that finds migrations | Aaron Patterson | 2012-01-13 | 1 | -6/+1 |
| | |||||
* | moving migrator tests to a migrator test class | Aaron Patterson | 2012-01-13 | 1 | -18/+0 |
| | |||||
* | adding a test class for table renaming | Aaron Patterson | 2012-01-13 | 1 | -70/+0 |
| | |||||
* | moving more column renaming tests | Aaron Patterson | 2012-01-13 | 1 | -71/+0 |
| | |||||
* | moving more renaming tests to the proper test case | Aaron Patterson | 2012-01-13 | 1 | -93/+0 |
| | |||||
* | moving rename column tests to their own class | Aaron Patterson | 2012-01-13 | 1 | -87/+11 |
| | |||||
* | moving column attributes tests to their own class | Aaron Patterson | 2012-01-13 | 1 | -169/+0 |
| | |||||
* | remove unused code | Aaron Patterson | 2012-01-13 | 1 | -1/+0 |
| | |||||
* | use ruby rather than mocha | Aaron Patterson | 2012-01-13 | 1 | -1/+3 |
| | |||||
* | move tests regarding index modification to their own class | Aaron Patterson | 2012-01-13 | 1 | -18/+0 |
| | |||||
* | decoupling more tests from AR::Base | Aaron Patterson | 2012-01-13 | 1 | -24/+0 |
| | |||||
* | use skip rather than conditionally define tests | Aaron Patterson | 2012-01-13 | 1 | -66/+68 |
| | |||||
* | skip openbase test | Aaron Patterson | 2012-01-13 | 1 | -3/+3 |
| | |||||
* | move more schema modification tests | Aaron Patterson | 2012-01-13 | 1 | -63/+0 |
| | |||||
* | instantiate our own broken migration rather than relying on the filesystem | Aaron Patterson | 2012-01-13 | 1 | -5/+9 |
| | |||||
* | use skip so we know what tests are being skipped | Aaron Patterson | 2012-01-13 | 1 | -10/+12 |
| | |||||
* | moving logger test to its own file | Aaron Patterson | 2012-01-13 | 1 | -13/+0 |
| | |||||
* | construct a migrator with a list of migrations rather than a list of paths | Aaron Patterson | 2012-01-13 | 1 | -4/+14 |
| | |||||
* | moving the table and index test to it's own file | Aaron Patterson | 2012-01-12 | 1 | -19/+0 |
| | |||||
* | all tested database support migrations, so stop making the tests conditional | Aaron Patterson | 2012-01-10 | 1 | -1436/+1434 |
| | |||||
* | refactoring migration test | Aaron Patterson | 2012-01-10 | 1 | -447/+1 |
| | |||||
* | Allow to filter migrations by passing a block | Piotr Sarnacki | 2011-12-09 | 1 | -0/+18 |
| | | | | | | | | | | Example: ActiveRecord::Migrator.migrate(path) do |migration| migration.name =~ /User/ end The above example will migrate only migrations with User in the name |