Sha256: f7b235de484e5298fc60187796111ae863dfe080186a30e7148464e97a185cf4
Contents?: true
Size: 400 Bytes
Versions: 6
Compression:
Stored size: 400 Bytes
Contents
require 'emotions' require 'rails' module Emotions class Railtie < Rails::Railtie initializer "emotions.active_record" do |app| ActiveSupport.on_load :active_record do def self.acts_as_emotive self.send :include, Emotions::Emotive end def self.acts_as_emotional self.send :include, Emotions::Emotional end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems