lib/faceted/model.rb in faceted-1.0.7 vs lib/faceted/model.rb in faceted-1.0.8
- old
+ new
@@ -39,10 +39,10 @@
end
build_association_from(name.to_s) if name.to_s.include?("id") && ! args[:skip_association]
end
def fields
- @fields ||= [:id]
+ @fields ||= [:id, :excludes]
end
def materialize(objects=[])
objects.compact.inject([]) do |a, object|
interface = self.new