aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/rename_column_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-2/+2
| | | | | On reflection, it seems like a bit of a weird method to have on ActiveRecord::Base, and it shouldn't be needed most of the time anyway.
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-2/+2
| | | | | | | | | | | Previously it returned an Array. If you want an array, call e.g. `Post.to_a` rather than `Post.all`. This is more explicit. In most cases this should not break existing code, since Relations use method_missing to delegate unknown methods to #to_a anyway.
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-3/+3
|
* columns method doesn't have name argumentRafael Mendonça França2012-02-021-5/+4
|
* test code that finds migrationsAaron Patterson2012-01-131-0/+4
|
* fixing test class nameAaron Patterson2012-01-131-1/+1
|
* moving more column renaming testsAaron Patterson2012-01-131-0/+75
|
* moving more renaming tests to the proper test caseAaron Patterson2012-01-131-0/+63
|
* moving rename column tests to their own classAaron Patterson2012-01-131-0/+53