Sha256: 879fb3f23629b032e8bf844b1416d40118838d58b9594f4d7bb71918a9e953c1

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

module SimpleTableFor
  class ::Application < Rails::Application
    config.simple_table_for = ActiveSupport::OrderedOptions.new
    config.simple_table_for.defaults = ActiveSupport::OrderedOptions.new

    config.after_initialize do |app|
      Defaults.set app.config.simple_table_for.defaults
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_table_for-0.3.0 lib/simple_table_for/rails.rb
simple_table_for-0.2.0 lib/simple_table_for/rails.rb