Sha256: 0eb82edfec157ed583025ec1cd7d319387cb8f9017dba0c714a465a58e5746a2

Contents?: true

Size: 777 Bytes

Versions: 5

Compression:

Stored size: 777 Bytes

Contents

require 'record_select_assets'
require 'record_select'
require 'record_select/extensions/localization'
require 'record_select/extensions/active_record'
require 'record_select/extensions/routing_mapper'
require 'record_select/actions'
require 'record_select/conditions'
require 'record_select/config'
require 'record_select/form_builder'
require 'record_select/helpers/record_select_helper'

ActionController::Base.send(:include, RecordSelect)
ActionView::Base.send(:include, RecordSelectHelper)
ActionView::Helpers::FormBuilder.send(:include, RecordSelect::FormBuilder)

Rails::Application.initializer("recordselect.install_assets") do
  begin
    RecordSelectAssets.copy_to_public
  rescue
    raise $! unless Rails.env == 'production'
  end
end if defined?(RECORD_SELECT_GEM)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
recordselect_vho-3.0.206 lib/recordselect.rb
recordselect_vho-3.0.205 lib/recordselect.rb
recordselect_vho-3.0.204 lib/recordselect.rb
recordselect_vho-3.0.3 lib/recordselect.rb
recordselect_vho-3.0.2 lib/recordselect.rb