Sha256: f9feaa236099ae33c6538363642e7d7cc7d01273e4fa345b78c5c8e276f08572

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module ActsAsGraphDiagram # :nodoc:
  class Railtie < ::Rails::Railtie # :nodoc:
    initializer 'acts_as_graph_diagram.active_record' do |_app|
      ActiveSupport.on_load :active_record do
        include ActsAsGraphDiagram::Node
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_graph_diagram-0.1.1 lib/acts_as_graph_diagram/railtie.rb
acts_as_graph_diagram-0.1.0 lib/acts_as_graph_diagram/railtie.rb