lib/ratable/engine.rb in ratable-0.0.5 vs lib/ratable/engine.rb in ratable-0.0.6
- old
+ new
@@ -10,19 +10,16 @@
end
end
initializer "ratable.models.ratee" do
ActiveSupport.on_load(:active_record) do
extend Ratable::Models::Ratee::ActiveRecordExtension
+ include Ratable::Models::Ratee::ActiveRecordInclusion
end
end
initializer "ratable.models.rater" do
ActiveSupport.on_load(:active_record) do
extend Ratable::Models::Rater::ActiveRecordExtension
- end
- end
- initializer "ratable.models.ratee_rater" do
- ActiveSupport.on_load(:active_record) do
- extend Ratable::Models::RateeRater::ActiveRecordExtension
+ include Ratable::Models::Rater::ActiveRecordInclusion
end
end
config.generators do |g|
g.test_framework :rspec, :fixture => false
g.fixture_replacement :factory_girl, :dir => 'spec/factories'