Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request rails#5507 from sandeepravi/warning_fixes
changed all.map to pluck
  • Loading branch information
fxn committed Mar 19, 2012
2 parents 98dc67c + 70a19b7 commit 50b3113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/base_test.rb
Expand Up @@ -163,7 +163,7 @@ def test_limit_should_allow_sql_literal

def test_select_symbol
topic_ids = Topic.select(:id).map(&:id).sort
assert_equal Topic.all.map(&:id).sort, topic_ids
assert_equal Topic.pluck(:id).sort, topic_ids
end

def test_table_exists
Expand Down

0 comments on commit 50b3113

Please sign in to comment.