Sha256: 00caca1180a81c6edc499a800ed321f3a016127c1d558bc5eb7b6f01a8654aee

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

require 'rails'
require 'falcon'

module Falcon
  class Engine < ::Rails::Engine
    config.before_initialize do
      ActiveSupport.on_load :active_record do
        ::ActiveRecord::Base.send :include, Falcon::Base
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
falcon-0.1.3 lib/falcon/engine.rb
falcon-0.1.2 lib/falcon/engine.rb
falcon-0.1.1 lib/falcon/engine.rb
falcon-0.1.0 lib/falcon/engine.rb