aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
Commit message (Collapse)AuthorAgeFilesLines
* adds a couple of missing AS dependenciesRolf Timmermans2011-03-121-0/+2
|
* Improve clarity of example. Make it follow guidelines for output display.Ben Orenstein2011-02-191-5/+5
|
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
|
* Use native attr_* macros for performance reasons.thedarkone2010-09-271-6/+13
|
* Fix 'warning: method redefined' [#5551 state:resolved]Krekoten' Marjan2010-09-251-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* attr_accessor_with_default should raise an ArgumentError not a RuntimeErrorAaron Patterson2010-09-241-3/+2
|
* delegate method should treat :prefix => false same as :prefix => nilNeeraj Singh2010-09-011-1/+1
| | | | | | [#5375 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-145-7/+7
| | | | 's/[ \t]*$//' -i {} \;)
* Introduced redefine_methodŁukasz Strzałkowski2010-07-191-0/+5
|
* It's not needed to initialize the attr when calling mattr_writerSantiago Pastorino2010-07-181-7/+1
|
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fix stack trace lines on class_evalSantiago Pastorino2010-04-093-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fisting stack trace [#4349 state:resolved]Aaron Patterson2010-04-081-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* LINE on class_eval need + 1, also removed comments [#4281 state:committed]Santiago Pastorino2010-03-271-20/+20
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved]Kabari Hendrick2010-03-271-5/+9
| | | Signed-off-by: wycats <wycats@gmail.com>
* Merge branch 'master' into docrailswycats2010-03-263-1/+27
|\
| * Singleton classes returns parent's methods with instance_methods(false) and ↵José Valim2010-03-191-1/+3
| | | | | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
| * Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵wycats2010-03-171-0/+14
| | | | | | | | warnings are in dependencies.
| * Eliminate warnings for AM on 1.8wycats2010-03-162-1/+11
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-02-144-55/+34
|\| | | | | | | | | | | | | | | Conflicts: railties/README railties/guides/source/active_support_core_extensions.textile railties/guides/source/getting_started.textile railties/lib/generators/rails/app/templates/README
| * fixes Module#anonymous? for 1.9Xavier Noria2010-02-111-2/+6
| |
| * moves Class#reachable? to Module#reachable?, bases implementation on ↵Xavier Noria2010-02-111-0/+10
| | | | | | | | anonymous? and constantize, and adds test coverage
| * defines Module#anonymous?Xavier Noria2010-02-111-0/+20
| |
| * removes Module#as_load_path, which is no longer usedXavier Noria2010-02-071-25/+0
| |
| * removes Module#included_in_classes, which is no longer usedXavier Noria2010-02-071-30/+0
| |
* | removes p calls in rdoc examplesXavier Noria2010-02-061-8/+8
| |
* | reformats an example in the rdoc of delegateXavier Noria2010-02-061-2/+7
| |
* | removes that beloved typo you only catch in github colored diffXavier Noria2010-01-211-1/+1
| |
* | rewords rdoc about :allow_nil in Module#delegateXavier Noria2010-01-211-4/+4
| |
* | a hash has no final keyXavier Noria2010-01-211-2/+2
|/
* synchronization.rb needs active_support/core_ext/array/extract_optionsXavier Noria2010-01-011-0/+1
|
* loading.rb needs active_support/core_ext/string/inflections because it uses ↵Xavier Noria2010-01-011-0/+2
| | | | underscore
* Allow delegating to nil, because the method might actually exist on itBryan Helmkamp2009-08-101-4/+9
|
* Friendlier runtime exception if delegatee is nilJeremy Kemper2009-06-181-3/+9
|
* Delegated methods report the expected file/line in backtracesJeremy Kemper2009-06-181-2/+3
|
* Move model naming into ActiveModelJoshua Peek2009-06-171-25/+0
|
* Add #element and #collection to ModelNameJeremy Kemper2009-06-081-3/+5
|
* Make module dependency DSL opt inJoshua Peek2009-05-071-26/+0
|
* Refactor ActionView::TemplateYehuda Katz + Carl Lerche2009-04-271-1/+3
| | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it.
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-224-9/+15
|
* Switch last module core extension to class reopenJeremy Kemper2009-04-221-8/+6
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-202-2/+28
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Add depends_on, use, and setup to abstract up ideas about module inheritance.Yehuda Katz and Carl Lerche2009-04-071-0/+26
| |
| * Sync with rails/rails/master, merge two metaprogramming annotation effortsMichael S. Klishin2008-12-285-39/+39
| |\
| * | Annotated metaprogramming code across ActiveSupportMichael S. Klishin2008-12-281-23/+23
| | |
* | | Dice up ActiveSupport::DeprecationJeremy Kemper2009-04-171-0/+9
| | |
* | | Convert Module aliasing and introspection extension modules to class reopenJeremy Kemper2009-03-282-147/+139
| | |
* | | Explicit dependency on Array#extract_options!Jeremy Kemper2009-03-241-24/+28
| |/ |/|
* | Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-285-39/+39
|/ | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :allow_nil option to delegate [#1127 state:resolved]Sergio Gil2008-12-211-1/+27
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>