lib/season/configuration.rb in season-0.1 vs lib/season/configuration.rb in season-0.2
- old
+ new
@@ -21,9 +21,10 @@
private
def self.auto_include_scopes
if configuration.include_by_default
- ActiveRecord::Base.send(:include, Season::Scopes) if defined? ActiveRecord
+ warn "[DEPRECATED] Include season scopes by default is deprecated and will be removed before v0.5 - See https://github.com/joaodiogocosta/season for more"
+ ActiveRecord::Base.send(:include, Season::Legacy) if defined? ActiveRecord
end
end
end
\ No newline at end of file