Curtis Summers wrote:
For case of finding any included feature, shouldn't the condition be the following?
:conditions => [ "feature_id IN (?) ", feature_ids.join(',') ]
ActiveRecord does that automagically for you if you pass it an array.
Chris
Curtis Summers wrote:
For case of finding any included feature, shouldn't the condition be the following?
:conditions => [ "feature_id IN (?) ", feature_ids.join(',') ]
ActiveRecord does that automagically for you if you pass it an array.
Chris