Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

changed all.map to pluck #5507

Merged
merged 1 commit into from

3 participants

@sandeepravi

No description provided.

@fxn fxn merged commit 50b3113 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 19, 2012
  1. @sandeepr-sourcebits
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/base_test.rb
View
2  activerecord/test/cases/base_test.rb
@@ -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
Something went wrong with that request. Please try again.