lib/by_star.rb in by_star-0.8.0 vs lib/by_star.rb in by_star-0.9.0
- old
+ new
@@ -32,5 +32,8 @@
end
class ParseError < Exception; end
class MonthNotFound < Exception; end
end
+
+ActiveRecord::Base.send :include, ByStar
+ActiveRecord::Relation.send :include, ByStar if ActiveRecord.const_defined?("Relation")
\ No newline at end of file