lib/defaults.rb in defaults-0.1.1 vs lib/defaults.rb in defaults-1.0.0
- old
+ new
@@ -45,12 +45,6 @@
end
end
end
end
-# ActiveRecord only calls after_initialize callbacks only if is
-# explicit defined in a class.
-if ActiveRecord::VERSION::STRING < "3.0"
- class ActiveRecord::Base; def after_initialize; end; end
-end
-
ActiveRecord::Base.send(:include, Defaults)