Sha256: 1bf50a6f5eab4cf4f888fd14999552dbebbbf95fbfe44e0629014692e3a2afe5

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

module Superstore
  class Railtie < Rails::Railtie
    initializer "superstore.config" do |app|
      ActiveSupport.on_load :active_record do
        ActiveRecord::Relation.class_eval do
          include Superstore::Relation::Scrolling
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
superstore-3.0.0 lib/superstore/railtie.rb
superstore-2.5.0 lib/superstore/railtie.rb