lib/active_remote/config.rb in active_remote-1.8.1 vs lib/active_remote/config.rb in active_remote-2.0.0.rc1

- old
+ new

@@ -1,10 +1,9 @@ require 'active_support/ordered_options' module ActiveRemote class Config < ::ActiveSupport::OrderedOptions - def initialize(options = {}) super self.default_cache_key_updated_at = false self.include_root_in_json = true @@ -14,10 +13,9 @@ self[:default_cache_key_updated_at] end def include_root_in_json=(true_or_false) self[:include_root_in_json] = !!true_or_false - ::ActiveRemote::Base.include_root_in_json = self[:include_root_in_json] + ActiveRemote::Base.include_root_in_json = self[:include_root_in_json] end - end end