Sha256: aaf70b2b768216038a7e31fdca565b3bcfc68a566a6df6d9dd689de0a162a75a
Contents?: true
Size: 362 Bytes
Versions: 8
Compression:
Stored size: 362 Bytes
Contents
require 'genesis' require 'rails' class Railtie < Rails::Railtie initializer 'genesis.insert_into_active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.send :include, Genesis::ActiveRecordExtensions end end rake_tasks do Dir[File.join(File.dirname(__FILE__),'tasks/*.rake')].each { |f| load f } end end
Version data entries
8 entries across 8 versions & 1 rubygems