Sha256: fb3de8e9e8307b276816bbe898e8f72015fbef73e5b94e3f78c316cb6f22c9a3
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
module SeemsRateable class Engine < ::Rails::Engine isolate_namespace SeemsRateable config.generators do |g| g.test_framework :rspec, :fixture => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' end initializer :seems_rateable do ActiveRecord::Base.send :include, SeemsRateable::Model ActionView::Base.send :include, SeemsRateable::Helpers ActionDispatch::Routing::Mapper.send :include, SeemsRateable::Routes end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
seems_rateable-1.0.9 | lib/seems_rateable/engine.rb |
seems_rateable-1.0.8 | lib/seems_rateable/engine.rb |
seems_rateable-1.0.7 | lib/seems_rateable/engine.rb |