Sha256: 8e803a0d75bf763ca096b46df468e9e5177bd4a251b0de2b95eafea347ff478f

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

require 'active_record/railtie'

module DynamicFieldsFor
  class Engine < Rails::Engine

    initializer 'dynamic-fields-for.configure_rails_initialization' do
      ActiveSupport.on_load :action_view do
        ActionView::Helpers::FormBuilder.send :include, DynamicFieldsFor::FormHelper
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dynamic-fields-for-1.0.2 lib/dynamic-fields-for/railtie.rb
dynamic-fields-for-1.0.1 lib/dynamic-fields-for/railtie.rb
dynamic-fields-for-1.0.0 lib/dynamic-fields-for/railtie.rb