aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* revises the RDoc of Hash#reverse_mergeXavier Noria2011-03-051-13/+7
|
* copy-edits 108561fXavier Noria2011-03-051-1/+1
|
* Active Support typos.R.T. Lechow2011-03-056-6/+6
|
* Adds link to Object.blank? from Object.present?Jonathon D. Jones2011-03-051-1/+1
|
* Fix incorrect example.Ben Orenstein2011-03-051-2/+2
|
* Fix incorrect word.Ben Orenstein2011-03-051-1/+1
|
* Clarify comment by removing french reference ('a la'). Should improve ↵Ben Orenstein2011-03-051-1/+1
| | | | readability for non-native english speakers.
* Example descriptions and their examples were flipped. Fix.Ben Orenstein2011-03-051-3/+3
|
* Correct example that did not do what it claimed. Rework explanation.Ben Orenstein2011-03-051-5/+5
|
* refactored Time#<=> and DateTime#<=> by removing unnecessary calls without ↵Diego Carrion2011-03-043-20/+5
| | | | | | losing performance Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* remove to_s implementation so that inspect is helpfulAaron Patterson2011-03-021-1/+0
|
* * LocalCache strategy is now a real middleware class, not an anonymous classAaron Patterson2011-03-021-23/+29
| | | | posing for pictures.
* require deprecation so that we can deprecate methods!Aaron Patterson2011-03-021-0/+1
|
* anonymous classes have blank names on ruby 1.8Aaron Patterson2011-03-021-1/+1
|
* adding deprecation noticies to deprecated class cache methodsAaron Patterson2011-03-021-0/+13
|
* adding backwards compat for class cache references. <3<3Aaron Patterson2011-03-021-1/+12
|
* yo dawg, directly use the class cache rather than the cache of the cacheAaron Patterson2011-03-011-5/+2
|
* refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵Aaron Patterson2011-03-011-11/+32
| | | | that anonymous classes are supported
* updated Time, Date and DateTime current methods in AS to use Time.zone and ↵Josh Kalderimis2011-02-284-8/+9
| | | | | | not Time.zone_default. [#6410 state:committed]
* Remove redundant to_sym call.Ben Orenstein2011-02-281-1/+1
| | | | | | [#6483 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Make ActiveSupport::Configurable work with modulesOriol Gual and Josep M. Bach2011-02-281-1/+1
| | | | | | [#6486 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-212-10/+24
|\
| * Add a forgotten word.Ben Orenstein2011-02-191-1/+1
| |
| * Improve clarity of example. Make it follow guidelines for output display.Ben Orenstein2011-02-191-5/+5
| |
| * Add a clearer example for with_options (lifted from the Active Support guide).Ben Orenstein2011-02-191-5/+19
| |
* | added Range#count? for Ruby 1.8Diego Carrion2011-02-192-0/+4
|/ | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* merges docrailsXavier Noria2011-02-181-1/+1
|\
| * Correct bad wording in description.Ben Orenstein2011-02-141-1/+1
| |
* | WeakHash is not used, remove it.Emilio Tagua2011-02-181-41/+0
| |
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-182-1/+5
|\ \ | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * | handle double pluralization for irregular pluralsDan Pickett2011-02-161-0/+4
| | | | | | | | | | | | | | | | | | [#6363] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | GcTime incorrectly checks GC.respond_to?(:total_time), it should check ↵Joel Nimety2011-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | GC::Profiler.respond_to?(:total_time) [#6435 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-1533-219/+376
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * | Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+6
| | |
| * | Updated the json date regex to recognize xmlschema formatted date times ↵Josh Kalderimis2011-02-121-1/+1
| | | | | | | | | | | | | | | | | | during json decoding. [#3031 state:resolved] Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
| * | Fixes an issue when decoding a json string which looks like a date but is ↵Josh Kalderimis2011-02-113-3/+21
| | | | | | | | | | | | | | | | | | invalid. This DateTime parse error is now caught and the original string is instead passed back [#6286 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-31/+0
| | | | | | | | | | | | | | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-101-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.
| * | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-31/+0
| | | | | | | | | | | | the same same.
| * | Corrected the html_safe implementation for Array. Moved the html safe ↵Josh Kalderimis2011-02-101-7/+22
| | | | | | | | | | | | version of join to its own method (safe_join) as not to degrade the performance of join for unrelated html_safe use. [#6298 state:resolved]
| * | Initial html_safe implemention for ArrayPaul Hieromnimon2011-02-101-0/+16
| | |
| * | fanout unsubscribe only accepted one argument, so taking *args here is ↵Aaron Patterson2011-02-091-2/+2
| | | | | | | | | | | | probably bad
| * | just use an attr_accessor so we do not pay ||= on every notification callAaron Patterson2011-02-091-5/+3
| | |
| * | fixing indentationAaron Patterson2011-02-091-4/+4
| | |
| * | speed up notification publishing by writing the delegate methodAaron Patterson2011-02-091-1/+4
| | |
| * | fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actually ↵Josh Kalderimis2011-02-091-0/+4
| | | | | | | | | | | | | | | | | | binary [#6386 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | use === so that regular expressions are not requiredAaron Patterson2011-02-081-5/+4
| | |
| * | use === so that regular expressions are not requiredAaron Patterson2011-02-081-6/+2
| | |
| * | notifier should be saved and re-set, not deletedAaron Patterson2011-02-071-1/+2
| | |
| * | Add initial FileWatcher implementation. The Backend is just an abstract ↵wycats2011-02-061-0/+41
| |/ | | | | | | implementation, which will be inherited by backends that do the heavy lifting.