Sha256: 7e8add9ddb780db3ac056cb373de4fed3088b3619d4a06b7ec97c097ef18c5ac
Contents?: true
Size: 404 Bytes
Versions: 8
Compression:
Stored size: 404 Bytes
Contents
module Rails #:nodoc: module VoteableMongo #:nodoc: class Railtie < Rails::Railtie #:nodoc: initializer "preload all application models" do |app| config.to_prepare do if defined?(Mongoid) ::Rails::Mongoid.load_models(app) end end end rake_tasks do load 'voteable_mongo/railties/database.rake' end end end end
Version data entries
8 entries across 8 versions & 2 rubygems