aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
| | * add special requires for ActiveSupport::Inflector so you can load it ↵rick2008-06-271-0/+5
| | | | | | | | | | | | individually
| * | Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-291-0/+6
| | | | | | | | | | | | [#195 state:resolved]
| * | Fix typo in apparently-dead will_unload? method.Jeremy Kemper2008-06-271-1/+1
| | |
| * | Freeze ModelName cache_key alsoJeremy Kemper2008-06-251-1/+1
| | |
| * | Include cache key in ModelNameJeremy Kemper2008-06-241-2/+3
| | |
| * | Performance: minor Array#to_param and #to_query speedupsJeremy Kemper2008-06-241-2/+3
| | |
| * | Revert "Check for mocha gem without requiring the lib. [#403 state:resolved]"Jeremy Kemper2008-06-231-2/+2
| | | | | | | | | | | | This reverts commit 4d5ac3f3d2e1667971752c9a4e536de1a5bec364.
| * | Check for mocha gem without requiring the lib. [#403 state:resolved]Jeremy Kemper2008-06-221-2/+2
| | |
| * | Everything responds to #to_paramJeremy Kemper2008-06-211-3/+1
| | |
| * | Don't assume RubyProf constants are definedJeremy Kemper2008-06-201-5/+5
| | |
| * | Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved]David Heinemeier Hansson2008-06-201-1/+3
| | |
| * | true#to_param => true, so be sure to #to_s expanded cache keysJeremy Kemper2008-06-201-9/+9
| | |
| * | Tired of seeing <foo>/runJeremy Kemper2008-06-201-1/+1
| | |
| * | Don't profile GC runs/time by defaultJeremy Kemper2008-06-201-1/+1
| | |
| * | Fall back to #to_s for cache key expansionJeremy Kemper2008-06-201-1/+3
| |/
| * Performance: add GC metrics for # of runs and total runtimeJeremy Kemper2008-06-181-10/+48
| |
| * Oops, include metric name in csv filenameJeremy Kemper2008-06-181-1/+1
| |
| * Performance: tweak unsupported metric error messageJeremy Kemper2008-06-181-1/+1
| |
| * Write benchmark output to separate files per test+metric. Support Lloyd ↵Jeremy Kemper2008-06-181-5/+35
| | | | | | | | Hilaiel's GC.heap_info patch for current heap size.
* | align with changes in i18nSven Fuchs2008-07-062-4/+1
| |
* | remove core extensions in favor of I18n#translate and I18n#localizeSven Fuchs2008-07-022-1/+1
| |
* | Fixed Date and Time localization for ActiveSupportLuca Guidi2008-07-021-0/+21
| |
* | crap, an array never has a request, stupid.Sven Fuchs2008-06-221-1/+1
| |
* | remove DeprecatedConstantToMethodProxy againSven Fuchs2008-06-221-17/+0
| |
* | experimental DeprecatedConstantToMethodProxySven Fuchs2008-06-211-0/+17
| |
* | incorporate #translate usage with several default keysSven Fuchs2008-06-211-0/+0
| | | | | | | | | | (use first default key that resolves to a translation). this might, depending on the backend implementation save some expensive lookups (like db lookups)
* | Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-211-0/+0
| | | | | | | | | | | | standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.).
* | Changed process of storing translations from theSven Fuchs2008-06-212-1/+1
| | | | | | | | | | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources.
* | rename Backend::Simple#add_translations to set_translationsSven Fuchs2008-06-202-1/+1
| | | | | | | | because it overwrites existing translations
* | I18n has not been released as a gem, yetSven Fuchs2008-06-191-5/+6
| |
* | add lang file for active_supportSven Fuchs2008-06-191-0/+7
| |
* | integrating I18n into RailsSven Fuchs2008-06-193-4/+17
|/