Sha256: 4560576deda89bb351654aa5e404092ec08a3944539d88bf322d722637df19a4

Contents?: true

Size: 444 Bytes

Versions: 9

Compression:

Stored size: 444 Bytes

Contents

module EffectiveFormInputs
  class Engine < ::Rails::Engine
    engine_name 'effective_form_inputs'

    config.autoload_paths += Dir["#{config.root}/app/models/**/"]

    initializer 'effective_orders.action_view' do |app|
      Rails.application.config.to_prepare do
        ActiveSupport.on_load :action_view do
          ActionView::Helpers::FormBuilder.send(:include, Effective::FormBuilderInputs)
        end
      end
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_form_inputs-0.6.4 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.6.3 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.6.2 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.6.1 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.6.0 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.5.0 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.4.2 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.4.1 lib/effective_form_inputs/engine.rb
effective_form_inputs-0.4.0 lib/effective_form_inputs/engine.rb