Sha256: 8815cada8b761c61592edbed17ff52031ddba0e19f51fbeb27c03e887daf0528
Contents?: true
Size: 997 Bytes
Versions: 6
Compression:
Stored size: 997 Bytes
Contents
require 'rails' module Ratable class Engine < ::Rails::Engine isolate_namespace Ratable initializer "ratable.models.ratable" do ActiveSupport.on_load(:active_record) do extend Ratable::Models::Ratable::ActiveRecordExtension include Ratable::Models::Ratable::ActiveRecordInclusion 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 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' g.assets false g.helper false end end end
Version data entries
6 entries across 6 versions & 1 rubygems