Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no more require minitest mock | Gaurav Sharma | 2015-08-27 | 1 | -1/+0 |
| | |||||
* | The short-hand methods should be able to define multiple columns | Ryuta Kamizono | 2015-02-23 | 1 | -1/+19 |
| | |||||
* | Extract the short-hand methods into `ColumnMethods` | Ryuta Kamizono | 2015-02-23 | 1 | -0/+8 |
| | |||||
* | Extract `primary_key` method into `ColumnMethods` | Ryuta Kamizono | 2015-02-22 | 1 | -0/+7 |
| | |||||
* | Failure to rollback t.timestamps when within a change_table migration | noam | 2014-12-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | When running the following migration: change_table(:table_name) { |t| t/timestamps } The following error was produced: wrong number of arguments (2 for 1) .... /connection_adapters/abstract/schema_statements.rb:851:in `remove_timestamps' This is due to `arguments` containing an empty hash as its second argument. | ||||
* | add a Table#name accessor like TableDefinition#name | Cody Cutrer | 2014-11-10 | 1 | -0/+6 |
| | |||||
* | Change the default `null` value for timestamps | Sean Griffin | 2014-08-12 | 1 | -2/+2 |
| | | | | | | | As per discussion, this changes the model generators to specify `null: false` for timestamp columns. A warning is now emitted if `timestamps` is called without a `null` option specified, so we can safely change the behavior when no option is specified in Rails 5. | ||||
* | Allow to specify a type for foreign key column in migrations | Andrey Novikov | 2014-07-22 | 1 | -0/+14 |
| | | | | [Andrey Novikov & Łukasz Sarnacki] | ||||
* | Use teardown helper method. | Guo Xiang Tan | 2014-03-14 | 1 | -1/+1 |
| | | | | | | | | Follow-Up to https://github.com/rails/rails/pull/14348 Ensure that SQLCounter.clear_log is called after each test. This is a step to prevent side effects when running tests. This will allow us to run them in random order. | ||||
* | Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been ↵ | Vipul A M | 2013-12-18 | 1 | -1/+1 |
| | | | | | | renamed to `Minitest` Ref: https://github.com/seattlerb/minitest/blob/master/History.txt | ||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -0/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | Differentiate between remove_column and remove_columns. Make remove_column ↵ | Marc-Andre Lafortune | 2012-12-21 | 1 | -2/+2 |
| | | | | | | reversible. [#8267] | ||||
* | Simplify change_table and avoid duplicated logic | Marc-Andre Lafortune | 2012-12-21 | 1 | -26/+5 |
| | |||||
* | Add rename_index to change_table. | Jarek Radosz | 2012-11-19 | 1 | -0/+7 |
| | |||||
* | Refactor references schema definitions | Aleksey Magusev | 2012-07-03 | 1 | -16/+12 |
| | |||||
* | port some mocha to minitest/mock | Aaron Patterson | 2012-05-18 | 1 | -0/+221 |