Sha256: 42a8d6d84b1d417b8b7f982dd5e184805c1dc4ea938468c270a572b092ec76ce

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

module ActsAsPositionable
  class Railie < ::Rails::Railtie
    initializer 'acts_as_positionable.initialize' do
      ActiveSupport.on_load(:active_record) do
        ActiveRecord::Base.send :extend, ActsAsPositionable
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_positionable-0.1.0 lib/acts_as_positionable/railtie.rb