aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-062-30/+43
|
* Make File.atomic_write copy the original permissions or use the directories ↵Joshua Peek2008-08-062-20/+50
| | | | default.
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Performance: grouping helpers should use yield instead of block as argument. ↵miloops2008-07-301-5/+5
| | | | [#723 state:resolved]
* Remove incomplete non-blocking logger functionalityMichael Koziarski2008-07-291-13/+1
|
* Guard the logger's internal buffer to prevent major breakage on genuinely ↵Michael Koziarski2008-07-291-6/+14
| | | | threaded environments
* Once is enough, mmkJeremy Kemper2008-07-281-2/+2
|
* Don't rememoize if already frozenJeremy Kemper2008-07-281-4/+3
|
* MacRuby: BasicObject unavailableJeremy Kemper2008-07-281-1/+1
|
* Merge docrails changesPratik Naik2008-07-282-9/+12
|
* Added config.dependency_loading to enable or disable the dependency loader ↵Joshua Peek2008-07-241-19/+59
| | | | after initialization
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-221-0/+31
| | | | same type [#673 state:resolved]
* Improved Memoizable test coverage and added support for multiple argumentsJoshua Peek2008-07-222-22/+38
|
* Refactor ActiveSupport::Dependencies injector so it would be possible to ↵Joshua Peek2008-07-191-104/+114
| | | | disable it
* Fix some warnings in i18n libJoshua Peek2008-07-192-5/+5
|
* Undefine old run methodJoshua Peek2008-07-191-0/+3
|
* Ruby 1.9: Ensure Memoizable#freeze is only overriden once to avoid an ↵Joshua Peek2008-07-181-14/+12
| | | | endless loop
* Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵Joshua Peek2008-07-181-27/+28
| | | | memoize class method
* Allow memoized methods to be reloaded and allow multiple symbolsJoshua Peek2008-07-181-15/+17
|
* Decrease default benchmark runs from 10 to 4Jeremy Kemper2008-07-171-1/+1
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-171-21/+15
|\
| * Allow ActiveSupport::Cache logger to be silencedJoshua Peek2008-07-171-2/+6
| |
| * Cleanup ActiveSupport::Cache::ThreadSafety module and add test coverageJoshua Peek2008-07-171-21/+11
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-1725-55/+125
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Add extra tests to ensure Hash#slice works with an array as a key. #613MatthewRudy2008-07-171-0/+5
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Revert "Hash#slice supports an array of keys [#613 state:resolved]"Pratik Naik2008-07-171-1/+0
| | | | | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679.
| * Revert "Run callbacks from object's metaclass"Joshua Peek2008-07-161-9/+1
| |
| * Allow deep merging of hash values for nested with_options. [#490 state:resolved]Lawrence Pit2008-07-173-10/+26
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Hash#slice supports an array of keys [#613 state:resolved]Josh Owens2008-07-161-0/+1
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * MemCacheStore#decrement should use data instance variable not local variable ↵Joshua Peek2008-07-161-15/+15
| | | | | | | | [#521 state:resolved]
| * Merge with docrails.Pratik Naik2008-07-1618-30/+70
| |
| * Run callbacks from object's metaclass [#575 state:resolved]Joshua Peek2008-07-151-1/+9
| |
| * Added Object#metaclassJoshua Peek2008-07-152-0/+9
| |
* | add i18n lib filesSven Fuchs2008-07-1610-0/+1064
| |
* | remove i18n lib subprojectSven Fuchs2008-07-161-0/+0
| |
* | merge forward to current rails/masterSven Fuchs2008-07-1618-65/+274
|\|
| * Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵Adrian Mugnolo2008-07-151-2/+45
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, ↵gbuesing2008-07-141-1/+1
| | | | | | | | because Ruby's marshaling of Time instances doesn't respect the zone
| * Append a "_" to memoized instance variablesJoshua Peek2008-07-141-3/+4
| |
| * Some performance tweaks to ActiveSupport::MemoizableTarmo Tänav2008-07-141-2/+4
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * memorize typoJoshua Peek2008-07-141-3/+3
| |
| * Added Memoizable mixin for caching simple lazy loaded attributesJoshua Peek2008-07-141-0/+32
| |
| * Cache Module#parent_nameJeremy Kemper2008-07-141-6/+17
| |
| * Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda]Pratik Naik2008-07-141-1/+1
| |
| * Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-093-4/+4
| |
| * Move test related core_ext stuff out of regular core ext to prevent nasty ↵Michael Koziarski2008-07-044-9/+11
| | | | | | | | surprises when you require active_support then use Test::Unit directly.
| * Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges]Pratik Naik2008-07-021-4/+18
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * TimeWithZone#advance: treat :weeks option as variable-lengthgbuesing2008-06-291-2/+2
| |
| * TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵gbuesing2008-06-291-12/+33
| | | | | | | | years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods.
| * Merge branch 'state_machine'rick2008-06-291-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some big changes: * Added some redundant requires so active_support/inflecto can be loaded without the rest of ActiveSupport. * Disabled callbacks and validations until they are added and tested. * Converted specs back to tests, using ActiveSupport::TestCase and the new #test helper. * As an experiment, I imported Scott Barron's awesome AASM gem into ActiveModel. I added multiple state machine support and vastly improved the API (no more aasm_* prefixes). All the old tests pass. If this bothers people, I have no problems removing this and contributing the changes back to AASM. I just feel like AMo is a better spot for all these 'modelish' features.