lib/groupdate/series.rb in groupdate-2.0.2 vs lib/groupdate/series.rb in groupdate-2.0.3
- old
+ new
@@ -97,7 +97,11 @@
else
super
end
end
+ def respond_to?(method, include_all = false)
+ ActiveRecord::Calculations.method_defined?(method) || @relation.respond_to?(method) || super
+ end
+
end # Series
end