1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/migration
Jon Leighton 6a81ccd69d ActiveRecord::Base.all returns a Relation.
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.
2012-07-27 13:34:12 +01:00
..
change_schema_test.rb revert Default timestamps to non-null 2012-07-18 10:59:32 -04:00
change_table_test.rb Refactor references schema definitions 2012-07-03 13:25:25 -03:00
column_attributes_test.rb revert Default timestamps to non-null 2012-07-18 10:59:32 -04:00
column_positioning_test.rb adding missing require 2012-01-10 14:48:31 -08:00
command_recorder_test.rb Make references statements reversible 2012-07-03 13:25:25 -03:00
create_join_table_test.rb Add join table migration generator 2012-07-18 00:13:19 +04:00
helper.rb Add references schema statements 2012-07-03 13:25:25 -03:00
index_test.rb improved test case for partial indices 2012-02-09 19:04:07 -02:00
logger_test.rb disable transactions for this test 2012-01-17 09:18:40 -08:00
references_index_test.rb Skip two tests with polymorphic if current adapter is Oracle Adapter. 2012-06-08 06:21:26 +09:00
references_statements_test.rb Add references schema statements 2012-07-03 13:25:25 -03:00
rename_column_test.rb ActiveRecord::Base.all returns a Relation. 2012-07-27 13:34:12 +01:00
rename_table_test.rb Add teardown method to AR::Mig::RenameTableTest 2012-07-10 20:20:09 -04:00
table_and_index_test.rb moving the table and index test to it's own file 2012-01-12 11:39:59 -08:00