Sha256: 895eb211efddfefce623e69e7c8a8dc0bc02ff50c3c31b271a31b7a1c6415cc4

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

require "rails/railtie"

module Scenic
  class Railtie < Rails::Railtie
    initializer "scenic.load" do
      ActiveSupport.on_load :active_record do
        Scenic.load
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scenic-0.3.0 lib/scenic/railtie.rb
scenic-0.2.1 lib/scenic/railtie.rb
scenic-0.2.0 lib/scenic/railtie.rb
scenic-0.1.0 lib/scenic/railtie.rb