Skip to content
This repository

Apr 13, 2011

  1. Prem Sichanugrist

    Remove `#among?` from Active Support

    After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
    
    It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
    sikachu authored dhh committed

Apr 11, 2011

  1. David Heinemeier Hansson

    Change Object#either? to Object#among? -- thanks to @jamesarosen for …

    …the suggestion!
    dhh authored

Apr 10, 2011

  1. Prem Sichanugrist

    Using Object#in? and Object#either? in various places

    There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
    sikachu authored dhh committed

Apr 05, 2011

  1. Josh Kalderimis

    added find_zone and find_zone! to AS timezones and changed the AS Rai…

    …ltie to use find_zone! as well as adding Railtie tests
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    joshk authored spastorino committed

Mar 04, 2011

  1. Diego Carrion

    refactored Time#<=> and DateTime#<=> by removing unnecessary calls wi…

    …thout losing performance
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    dcrec1 authored spastorino committed

Jan 21, 2011

  1. Aaron Patterson

    prefering psych as the yaml parser if possible, fixing assertions for…

    … YAML 1.1 compatibility
    tenderlove authored

Jan 05, 2011

  1. Aaron Patterson

    make our yaml output consistent

    tenderlove authored

Nov 11, 2010

  1. Santiago Pastorino

    Duck typing here

    spastorino authored
  2. Álvaro Bautista Pino

    Fix ActiveSupport::TimeWithZone#localtime method with DateTime

    [#5344 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    alvarobp authored spastorino committed

Aug 15, 2010

  1. Josep M. Bach

    Whitespace and example identation

    txus authored fxn committed

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Jul 23, 2010

  1. Neeraj Singh

    adding proper markup in comments

  2. Neeraj Singh

    shortening the sentences and removing fluff

Jun 11, 2010

  1. Ev Dolzhenko

    Fix a bunch of minor spelling mistakes

    dolzenko authored

Jan 04, 2010

  1. David Heinemeier Hansson

    Changed the default ActiveSupport.use_standard_json_time_format from …

    …false to true and
    
    ActiveSupport.escape_html_entities_in_json from true to false to match previously announced Rails 3 defaults [DHH]
    dhh authored

Jan 01, 2010

  1. Xavier Noria

    time_with_zone.rb needs active_support/core_ext/object/acts_like

    fxn authored jeremy committed

Nov 15, 2009

  1. Add TimeZone dependency

    Yehuda Katz authored

Nov 14, 2009

  1. Jeremy Kemper

    Repair time dependencies

    jeremy authored

Nov 03, 2009

  1. Jeremy Kemper

    Clarify date/time dependencies

    jeremy authored

Jun 08, 2009

  1. Jeremy Kemper

    JSON: split encoding and coercion

    jeremy authored

Apr 27, 2009

  1. Jeremy Kemper

    Now that we have a separate internal rails_to_json, use a separate ci…

    …rcular reference stack instead of sticking it in the options hash
    jeremy authored

Apr 26, 2009

  1. Jeremy Kemper

    Privatize rails_to_json

    jeremy authored

Apr 23, 2009

  1. risk danger olson

    * Add pluggable JSON backends with support for the JSON gem. [rick]

        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
        end
    technoweenie authored
  2. Jeremy Kemper

    Fix dependencies revealed by testing in isolation

    jeremy authored

Apr 22, 2009

  1. Jeremy Kemper

    Divert CoreExtensions mention in docs

    jeremy authored

Apr 21, 2009

  1. Jeremy Kemper

    Merge branch 'master' into cherry

    Conflicts:
    	activesupport/CHANGELOG
    	activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
    	activesupport/lib/active_support/core_ext/hash/conversions.rb
    	activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
    	activesupport/lib/active_support/core_ext/string/multibyte.rb
    	activesupport/lib/active_support/core_ext/time/calculations.rb
    	activesupport/lib/active_support/deprecation.rb
    jeremy authored

Apr 13, 2009

  1. Yehuda Katz

    Bring abstract_controller up to date with rails/master

    Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list
    of commits that could not be applied cleanly or are obviated with the
    abstract_controller refactor. They all need to be revisited to ensure
    that fixes made in 2.3 do not reappear in 3.0:
    
    2259ecf
    AR not available
      * This will be reimplemented with ActionORM or equivalent
    
    06182ea
    implicitly rendering a js response should not use the default layout
    [#1844 state:resolved]
      * This will be handled generically
    
    893e9eb
    Improve view rendering performance in development mode and reinstate
    template recompiling in production [#1909 state:resolved]
      * We will need to reimplement rails-dev-boost on top of the refactor;
        the changes here are very implementation specific and cannot be
        cleanly applied. The following commits are implicated:
    
          199e750
          3942cb4
          f8ea9f8
          e3b166a
          ae9f258
          4442312
    
    0cb020b
    workaround for picking layouts based on wrong view_paths
    [#1974 state:resolved]
      * The specifics of this commit no longer apply. Since it is a two-line
        commit, we will reimplement this change.
    
    8c5cc66a831aadb159f3daaffa4208064c30af0e
    make action_controller/layouts pick templates from the current instance's
    view_paths instead of the class view_paths [#1974 state:resolved]
      * This does not apply at all. It should be trivial to apply the feature
        to the reimplemented ActionController::Base.
    
    87e8b162463f13bd50d27398f020769460a770e3
    fix HTML fallback for explicit templates [#2052 state:resolved]
      * There were a number of patches related to this that simply compounded
        each other. Basically none of them apply cleanly, and the underlying
        issue needs to be revisited. After discussing the underlying problem
        with Koz, we will defer these fixes for further discussion.
    wycats authored

Apr 08, 2009

  1. Jeremy Kemper

    Unneeded require

    jeremy authored

Apr 05, 2009

  1. Geoff Buesing

    TimeWithZone.name returns 'Time', to further thwart type checking

    gbuesing authored

Mar 29, 2009

  1. Jeremy Kemper

    Explicit dependency on Duration, numeric times, and date/time to_s ex…

    …tensions
    jeremy authored

Mar 24, 2009

  1. Jeremy Kemper

    Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset

    jeremy authored

Feb 10, 2009

  1. Geoff Buesing

    TimeWithZone#advance: leverage Hash#values_at and non-block form of #…

    …any? for a little less line noise, and a slight speedup (thanks raggi and Roman2K)
    gbuesing authored

Feb 09, 2009

  1. Geoff Buesing

    TimeWithZone#advance: use #any? instead of #detect

    gbuesing authored
  2. Geoff Buesing

    TimeWithZone: eliminate unnecessary flatten

    gbuesing authored
  3. Geoff Buesing

    TimeWithZone: use Array#any? instead of detect, since we don't care a…

    …bout the block return value
    gbuesing authored
Something went wrong with that request. Please try again.