fix user:owns id ambiguity

This commit is contained in:
Emi Matchu 2012-01-13 15:20:47 -06:00
parent d335c2e677
commit ec9e997ac5

View file

@ -734,7 +734,7 @@ class Item < ActiveRecord::Base
"any items yet. Head to Your Items to add some!" "any items yet. Head to Your Items to add some!"
end end
"id IN (#{item_ids.join(',')})" arel_table[:id].in(item_ids)
end end
search_filter :only do |species_name| search_filter :only do |species_name|