retire use find with conditions which is not not supported in Rails 4.1
As as workaround I had overwritten collection find_records in my app
module Tire
module Results
class Collection
def __find_records_by_ids(klass, ids)
@options[:load] === true ? klass.find(ids) : klass.includes(@options[:load][:include]).find(ids)
end
end
end
end
retire use find with conditions which is not not supported in Rails 4.1
As as workaround I had overwritten collection find_records in my app
module Tire
module Results
class Collection
def __find_records_by_ids(klass, ids)
@options[:load] === true ? klass.find(ids) : klass.includes(@options[:load][:include]).find(ids)
end
end
end
end