Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 12, 2009
  1. Michael Koziarski
Commits on Jul 8, 2009
  1. Lawrence Pit Yehuda Katz

    Use the i18n gem if present instead of vendor code. [#2871 state:reso…

    lawrencepit authored wycats committed
    Signed-off-by: Yehuda Katz <>
Commits on Jul 2, 2009
  1. Fixed ActiveSupport::OrderedHash::[] work identically to ::Hash::[] i…

    Brian Abreu authored Yehuda Katz + Carl Lerche committed
    …n ruby 1.8.7 [#2832 state:resolved]
    Signed-off-by: Yehuda Katz + Carl Lerche <>
  2. Levin Alexander

    make #inspect if zero length duration return '0 seconds' instead of e…

    levinalex authored Yehuda Katz + Carl Lerche committed
    …mpty string [#2838 state:resolved]
    Signed-off-by: Yehuda Katz + Carl Lerche <>
  3. Fixes bug where Memcached connections get corrupted when an invalid e…

    Yehuda Katz + Carl Lerche authored
    …xpire is passed in [#2854 state:resolved]
Commits on Jul 1, 2009
  1. Jeremy Kemper

    JSON.escape returns UTF-8 strings

    jeremy authored
    [#2849 state:resolved]
  2. Jeremy Kemper
  3. Move mocha down below initial T::U require and bump version to 0.9.7 [#…

    Yehuda Katz + Carl Lerche authored
    …2858 state:resolved]
Commits on Jun 19, 2009
  1. Jeremy Kemper
Commits on Jun 18, 2009
  1. Jeremy Kemper
Commits on Jun 13, 2009
  1. Jeremy Kemper

    Bytes calculation speed up

    Luca Guidi authored jeremy committed
    [#2800 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Jun 12, 2009
  1. Jeremy Kemper
Commits on Jun 9, 2009
  1. Jeremy Kemper
  2. Jeremy Kemper
  3. Jeremy Kemper
Commits on Jun 8, 2009
  1. Jeremy Kemper

    Ruby 1.9: fix json encoding

    jeremy authored
  2. Jeremy Kemper
  3. Jeremy Kemper
  4. Jeremy Kemper

    Don't rely on Rails.logger

    jeremy authored
Commits on May 27, 2009
  1. Joshua Peek
Commits on May 25, 2009
  1. Hongli Lai Pratik

    activesupport/json/encoders fix that to_json should call rails_to_jso…

    FooBarWidget authored lifo committed
    …n, not just be an alias to the rails_to_json method defined in Object. Fixes #2690
    Signed-off-by: Pratik Naik <>
Commits on May 19, 2009
  1. Bryan Helmkamp Jeremy Kemper

    Use duck typing to also allow MemCache-like object when initializing …

    brynary authored jeremy committed
    …a MemCacheStore
    Signed-off-by: Jeremy Kemper <>
  2. Bryan Helmkamp Jeremy Kemper

    Allow MemCacheStore to be initialized with a MemCache object instead …

    brynary authored jeremy committed
    …of addresses and options
Commits on May 18, 2009
  1. Joe Van Dyk Jeremy Kemper

    Add ability to get multiple memcached keys at the same time (via MemC…

    joevandyk authored jeremy committed
    Signed-off-by: Jeremy Kemper <>
  2. risk danger olson
  3. Jeremy Kemper risk danger olson

    Extract json string escaping

    jeremy authored technoweenie committed
  4. Jeremy Kemper risk danger olson
  5. risk danger olson

    Add pluggable JSON backends with support for the JSON gem.

    technoweenie authored
        Example: ActiveSupport::JSON.backend = "JSONGem"
    All internal Rails JSON encoding is now handled by
    ActiveSupport::JSON.encode().  Use of #to_json is not recommended, as it
    may clash with other libraries that overwrite it.  However, you can
    recover Rails specific functionality
    if you really want to use #to_json.
        gem 'json'
        ActiveSupport::JSON.backend = "JSONGem"
        class ActiveRecord::Base
          alias to_json rails_to_json
Commits on May 11, 2009
  1. Douglas F Shearer Jeremy Kemper

    ActiveSupport::OrderedHash[1,2,3,4] creates an OrderedHash instead of…

    dougal authored jeremy committed
    … a Hash.
    [#2615 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on May 10, 2009
  1. John Small Michael Koziarski

    Add configuration options for :dasherize and :camelize calls to Hash#…

    JohnSmall authored NZKoz committed
    People using ActiveResource & REST to integrate with other systems need to be able to control the default dasherize behavior of Hash.to_xml.
    Currently there is no test for a default value, but existing code asssumes it's true. This patch adds tests for the default value and adds
    mattr_accessor to ActiveSupport for :dasherize_xml and :camelize_xml. These module attributes set the defaults for :dasherize and :camelize in
    rename_keys inside Hash#to_xml. The tests have been changed to separate out the testing of the parameter options for :camelize
    and :dasherize so that we only test one thing at a time. We also test default values for :camelize_xml and :dasherize_xml.
    The module attribute dasherize_xml is set to true in this patch to maintain existing code. But at some point in the future it should be set to
    false because Hash#to_xml probably should not set underscores to dashes by default.
    Changed documentation on ActiveResource#to_xml to correctly describe the behaviour of Hash#to_xml. The previous documentation said that
    the default for :dasherize was false, in fact it was and still is true, but we now have a way to change the default. I've also added
    documentation for the :camelize option.
    Signed-off-by: Michael Koziarski <>
  2. Ken Collins Michael Koziarski

    ActiveSupport::OrderedHash#to_a method returns an ordered set of arra…

    metaskills authored NZKoz committed
    …ys. Matches ruby1.9's Hash#to_a.
    Signed-off-by: Michael Koziarski <>
    [#2629 state:committed]
Commits on May 4, 2009
  1. Michael Koziarski

    Remove stray underscore from the hash conversion methods which broke …

    codebrulee authored NZKoz committed
    …backwards compatibility with Hash.from_xml
    Also add an all-caps test to prevent future regressions
Commits on Apr 26, 2009
  1. Stephen Bannasch Jeremy Kemper

    add JRuby-JDOM backend for XmlMini

    stepheneb authored jeremy committed
    Signed-off-by: Jeremy Kemper <>
Commits on Apr 17, 2009
  1. Jeremy Kemper
Commits on Mar 16, 2009
  1. Pratik

    Merge docrails

    lifo authored
Something went wrong with that request. Please try again.