Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove duplicated methods in command recorder and duplicated test name | Carlos Antonio da Silva | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | Add drop_join_table [#8267] | Marc-Andre Lafortune | 2012-12-21 | 1 | -0/+42 |
| | |||||
* | Move migration test together with other join table tests | Carlos Antonio da Silva | 2012-11-21 | 1 | -0/+6 |
| | |||||
* | Add join table migration generator | Aleksey Magusev | 2012-07-18 | 1 | -3/+17 |
| | | | | | | | | | | | | | For instance, running rails g migration CreateMediaJoinTable artists musics:uniq will create a migration with create_join_table :artists, :musics do |t| # t.index [:artist_id, :music_id] t.index [:music_id, :artist_id], unique: true end | ||||
* | Use strings for the table names | Rafael Mendonça França | 2012-07-01 | 1 | -1/+1 |
| | | | | connection.tables returns an array of strings | ||||
* | Refactor migration test_helper | Aleksey Magusev | 2012-07-01 | 1 | -14/+7 |
| | | | | and create_join_table_test | ||||
* | Add `create_join_table` migration helper to create HABTM join tables | Rafael Mendonça França | 2012-01-27 | 1 | -0/+70 |