Sha256: 478328c6767460609c64214ce22e2e7f0283e1bc0e736482ada6f1e9a3262111

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

require 'emotions'
require 'rails'

module Emotions
  class Railtie < Rails::Railtie
    initializer "emotions.active_record" do |app|
      ActiveSupport.on_load :active_record do
        include Emotions::Emotive
        include Emotions::Emotional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emotions-0.1 lib/emotions/railtie.rb