Skip to content
This repository

Nov 29, 2011

  1. Aaron Patterson

    Module#synchronize is deprecated with no replacement. Please use `mon…

    …itor` from ruby's standard library.
    authored November 29, 2011

Oct 30, 2011

  1. Xavier Noria

    defines Module#qualified_const_(defined?|get|set) and String#deconsta…

    …ntize
    
    This commit also implements a faster version of #demodulize I was unable
    to isolate with git add --patch.
    
    Not a big fan of the name #deconstantize. It complements #demodulize
    getting rid of the rightmost constant, hence the name, but it is
    unrelated to the well-known #constantize. So unsure. Could not come
    with anything better, please feel free to rename.
    authored October 29, 2011

Sep 23, 2011

  1. José Valim

    Use safe_constantize where possible.

    authored September 23, 2011

Aug 25, 2011

  1. Jon Leighton

    Revert all the stuff to do with disallowing non-public methods for Mo…

    …dule#delegate
    authored August 25, 2011

Aug 16, 2011

  1. Xavier Noria

    prefer ends_with? over slicing

    authored August 16, 2011

Aug 15, 2011

  1. Jon Leighton

    Add a test for delegating a method ending in '=' as this is a special…

    … case.
    authored August 15, 2011
  2. Arun Agrawal

    Need to include public_send

    authored August 15, 2011
  3. Jon Leighton

    Split up the definitions in Module#delegate depending on :allow_nil, …

    …and don't use exceptions for flow control in the :allow_nil => true case.
    authored August 15, 2011
  4. Jon Leighton

    Fix the line number in the backtrace when Module#delegate raises

    authored August 15, 2011
  5. Jon Leighton

    Just do the method call directly in Module#delegate, if we can (we ca…

    …nnot for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods.
    authored July 18, 2011

Aug 06, 2011

  1. Evan Light

    Refactored to more closely resemble idiom applied for on_nil

    authored August 05, 2011

Aug 01, 2011

  1. Dmitriy Kiriyenko

    Remove unnecessary require (happened after fcbde45)

Jul 31, 2011

  1. Brad Ediger

    remove_possible_method: test if method exists

    This speeds up remove_possible_method substantially since it doesn't
    have to rescue a NameError in the common case.
    
    Closes #2346.
    authored July 31, 2011

Jul 17, 2011

  1. Jon Leighton

    Don't do remove_possible_method when delegate is used. Two reasons: 1…

    …) warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937.
    authored July 18, 2011

Jun 14, 2011

  1. Vijay Dev

    Added instance_accessor: false to Module#mattr_accessor

    authored June 14, 2011

Jun 09, 2011

  1. Ben Orenstein

    Simplify boolean logic into ternary.

    authored June 08, 2011

May 25, 2011

  1. Josh Kalderimis

    Removed deprecated methods and related tests from ActiveSupport

    authored May 25, 2011

May 16, 2011

  1. José Valim

    Deprecate attr_accessor_with_default.

    authored May 16, 2011

May 12, 2011

  1. Josh Kalderimis

    Remove a circular require in AS deprecations. This is safe as AS depr…

    …ecations is autoloaded as needed.
    authored May 12, 2011

Mar 12, 2011

  1. adds a couple of missing AS dependencies

    authored March 12, 2011 fxn committed March 12, 2011

Feb 19, 2011

  1. Ben Orenstein

    Improve clarity of example. Make it follow guidelines for output disp…

    …lay.
    authored February 19, 2011

Nov 24, 2010

  1. James Tucker

    Don't depend on rubygems loading thread (for Mutex)

    authored November 25, 2010 tenderlove committed November 25, 2010

Sep 27, 2010

  1. Use native attr_* macros for performance reasons.

    authored September 26, 2010

Sep 25, 2010

  1. Мар'ян Крекотень (Marjan Krekoteń)

    Fix 'warning: method redefined' [#5551 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored September 25, 2010 josevalim committed September 25, 2010

Sep 24, 2010

  1. Aaron Patterson

    attr_accessor_with_default should raise an ArgumentError not a Runtim…

    …eError
    authored September 24, 2010

Sep 01, 2010

  1. Neeraj Singh

    delegate method should treat :prefix => false same as :prefix => nil

    [#5375 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored August 18, 2010 josevalim committed September 01, 2010

Aug 14, 2010

  1. Santiago Pastorino

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

    …ec sed 's/[ \t]*$//' -i {} \;)
    authored August 14, 2010

Jul 19, 2010

  1. Łukasz Strzałkowski

    Introduced redefine_method

    authored July 17, 2010 tenderlove committed July 19, 2010

Jul 17, 2010

  1. Santiago Pastorino

    It's not needed to initialize the attr when calling mattr_writer

    authored July 18, 2010 tenderlove committed July 18, 2010

May 20, 2010

  1. Santiago Pastorino

    refactor evals and adds some __FILE__ and __LINE__

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored May 19, 2010 josevalim committed May 20, 2010

Apr 09, 2010

  1. Santiago Pastorino

    fix stack trace lines on class_eval

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored April 09, 2010 josevalim committed April 09, 2010

Apr 08, 2010

  1. Aaron Patterson

    fisting stack trace [#4349 state:resolved]

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored April 08, 2010 jeremy committed April 08, 2010

Mar 27, 2010

  1. Santiago Pastorino

    LINE on class_eval need + 1, also removed comments [#4281 state:commi…

    …tted]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored March 27, 2010 josevalim committed March 27, 2010
  2. fixing inconsistency with cattr_reader and matter_reader [#4172 state…

    …:resolved]
    
    Signed-off-by: wycats <wycats@gmail.com>
    authored March 14, 2010 wycats committed March 27, 2010

Mar 26, 2010

  1. Yehuda Katz

    Merge branch 'master' into docrails

    authored March 26, 2010
Something went wrong with that request. Please try again.