Sha256: efed9e1da7d8eea621c7813699a2d57cee55ffe479866236874b4b6db34471cb

Contents?: true

Size: 336 Bytes

Versions: 201

Compression:

Stored size: 336 Bytes

Contents

require "active_resource"
require "rails"

module ActiveResource
  class Railtie < Rails::Railtie
    config.active_resource = ActiveSupport::OrderedOptions.new

    initializer "active_resource.set_configs" do |app|
      app.config.active_resource.each do |k,v|
        ActiveResource::Base.send "#{k}=", v
      end
    end
  end
end

Version data entries

201 entries across 175 versions & 12 rubygems

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/activeresource-3.2.8/lib/active_resource/railtie.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-rolls-0.2.0 vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/railtie.rb
challah-rolls-0.2.0 vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-0.8.3 vendor/bundle/gems/activeresource-3.2.8/lib/active_resource/railtie.rb
challah-0.8.3 vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/railtie.rb
activeresource-3.2.9 lib/active_resource/railtie.rb
activeresource-3.2.9.rc3 lib/active_resource/railtie.rb
activeresource-3.2.9.rc2 lib/active_resource/railtie.rb
activeresource-3.2.9.rc1 lib/active_resource/railtie.rb
challah-0.8.1 vendor/bundle/gems/activeresource-3.2.8/lib/active_resource/railtie.rb
challah-rolls-0.1.0 vendor/bundle/gems/activeresource-3.2.8/lib/active_resource/railtie.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-rolls-0.1.0 vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-0.8.0.pre vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-0.7.1 vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-0.7.0 vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
challah-0.7.0.pre2 vendor/bundle/gems/activeresource-3.2.7/lib/active_resource/railtie.rb
activeresource-3.2.8 lib/active_resource/railtie.rb
activeresource-3.1.8 lib/active_resource/railtie.rb