aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges]Pratik Naik2008-07-023-8/+51
| | | | 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-293-12/+203
| | | | 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
* | Fix indentation and update changelogs for previous commitgbuesing2008-06-291-0/+2
| |
* | Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-292-0/+13
| | | | | | | | [#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
| |
* | Horo rdoc templateJeremy Kemper2008-06-221-1/+1
| |
* | 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-203-4/+11
| |
* | 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-202-1/+9
|/
* Use native include/exclude instead of doing it by handJeremy Kemper2008-06-181-1/+2
|
* Generate rdoc for all .rb files except those in vendorJeremy Kemper2008-06-181-2/+1
|
* Update Rakefiles to connect to wrath as current user. Use ssh config to set ↵Jeremy Kemper2008-06-181-4/+4
| | | | a different user.
* 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.
* Added Array#second through Array#tenth as aliases for Array#[1] through ↵David Heinemeier Hansson2008-06-173-0/+61
| | | | Array#[9] [DHH]
* process time for benchmarks (quicker), wall time for profiling (lower overhead)Jeremy Kemper2008-06-161-10/+14
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-06-16138-110/+116
|\
| * Updated bundled TZInfo gem to version 0.3.9 for Ruby 1.9 compatJoshua Peek2008-06-14138-110/+116
| |
* | missed . joining rails version and git revisionJeremy Kemper2008-06-161-1/+1
| |
* | Metrics::Memory measures in fractional KB alsoJeremy Kemper2008-06-161-3/+3
| |
* | Extract environment. Hardcode some git info so I can start working with it now.Jeremy Kemper2008-06-161-8/+24
| |
* | Force runs to be an integer. Start and stop RubyProf in same scope. Expect ↵Jeremy Kemper2008-06-151-12/+21
| | | | | | | | memory measurements in fractional KB now instead of bytes. Convert object allocation measurements to integer. Wrap up measure_mode in Metric instance method.
* | Delegate run_test to @harnessJeremy Kemper2008-06-151-3/+3
| |
* | Metrics::[] escues NameError only. Fix MODE typo.Jeremy Kemper2008-06-151-2/+2
| |
* | Extract Metric and Performer. Simplify and refactor.Jeremy Kemper2008-06-151-138/+212
| |
* | Pass printer class to output_filenameJeremy Kemper2008-06-141-8/+8
| |
* | Performance: integration test benchmarking and profiling. [Jeremy Kemper]Jeremy Kemper2008-06-141-0/+226
|/
* Change Enumberal#several? to Enumberal#many?David Heinemeier Hansson2008-06-133-5/+5
|
* Ruby 1.9 compat: instance_methods are symbols instead of strings. Use the ↵Jeremy Kemper2008-06-121-5/+6
| | | | quicker instance_method(sym) rescue false check.
* Added test/do declaration style testing to ActiveSupport::TestCase [DHH via ↵David Heinemeier Hansson2008-06-122-1/+11
| | | | Jay Fields]
* Revert "Ensure MemCacheStore is required when using CompressedMemCacheStore ↵David Heinemeier Hansson2008-06-121-2/+0
| | | | | | since they are lazy load now." This reverts commit dd4181f47dc0f166eb5d3e47a4a0dc1594cc5669.
* Revert "Lazy load cache and session stores"David Heinemeier Hansson2008-06-122-4/+6
| | | | This reverts commit 19895f087c338d8385dff9d272d30fb87cb10330.
* Added Object#present? which is equivalent to !Object#blank? [DHH]David Heinemeier Hansson2008-06-123-0/+12
|
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-06-1217-67/+155
|\
| * Ensure MemCacheStore is required when using CompressedMemCacheStore since ↵Joshua Peek2008-06-121-0/+2
| | | | | | | | they are lazy load now.
| * Performance: speed up Hash#except. [#382 state:resolved]Grant Hollingworth2008-06-111-3/+4
| |