diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-06-25 20:31:10 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-26 01:35:23 +0200 |
commit | 47134a04bbce216f9c31473b1a0c1a077d624692 (patch) | |
tree | 4b5c301201afea3d3cc37f5725ecc7a413c0be6a /activerecord/test/cases | |
parent | 026cec339046c6ff4629b445d8284d7ad3da5085 (diff) | |
download | rails-47134a04bbce216f9c31473b1a0c1a077d624692.tar.gz rails-47134a04bbce216f9c31473b1a0c1a077d624692.tar.bz2 rails-47134a04bbce216f9c31473b1a0c1a077d624692.zip |
blocks removed from all the ActiveRelation query_methods, extend method added instead
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index d37f7bd09c..d27a69ea1c 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -618,7 +618,7 @@ class RelationTest < ActiveRecord::TestCase end def test_anonymous_extension - relation = Post.where(:author_id => 1).order('id ASC') do + relation = Post.where(:author_id => 1).order('id ASC').extend do def author 'lifo' end |