aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
...
* | explains why ERB::Util#h is removed before being re-aliasedXavier Noria2010-10-181-0/+1
| |
* | Merge CHANGELOGs from 3-0-stableSantiago Pastorino2010-10-181-0/+3
| |
* | replace if ! with unlessNeeraj Singh2010-10-172-2/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵Rob Zolkos & Xavier Noria2010-10-166-3/+77
| | | | | | | | state:committed]
* | Revert "refactor delete a little"Aaron Patterson2010-10-151-1/+4
| | | | | | | | This reverts commit f3f34bce8fc2895e05c4a06bb4105d6155fa423d.
* | in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-1/+1
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-141-2/+2
|\|
| * fix time.to_formatted_time(:time) exampleAditya Sanghi2010-10-131-2/+2
| |
* | Revert "speeding up flattened version of OrderedHash.[]"Aaron Patterson2010-10-131-2/+3
| | | | | | | | This reverts commit 9c53e82d66d0c34b8f35609b7972f28521d5794d.
* | speeding up flattened version of OrderedHash.[]Aaron Patterson2010-10-131-3/+2
| |
* | refactor delete a littleAaron Patterson2010-10-131-4/+1
| |
* | use unless instead of if !Aaron Patterson2010-10-131-1/+1
|/
* Always pull in version for frameworks (standardize autoload / require / none)wycats2010-10-101-1/+1
|
* Make ActiveSupport load own version.Barry Sears2010-10-101-0/+1
| | | | | | [#5739 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix misleading advice to add 'memcache' to GemfileWincent Colaiuta2010-10-101-1/+1
| | | | | | | | | | | | | | | [#5539 state:committed] Commit 57144388f removed the hard-coded dependency on the memcache-client gem, and added this warning advising people to install it if needed. The problem is, however, that if people follow the advice literally and install the 'memcache' gem, they will wind up with a completely different thing, which is not API compatible with the memcache-client gem and which Rails can't work with. So, be explicit and tell users to install the 'memcache-client' gem. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Override #store to be consistent with #[].Andrea Campi2010-10-102-0/+12
| | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Cleanup logger a bit.José Valim2010-10-081-38/+11
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-061-2/+2
|\
| * Correct documentation that references how *_filter of action_pack are ↵Marcelo Giorgi2010-10-031-2/+2
| | | | | | | | translated into set_callback/run_callback's (from active_support) invocations.
* | Fix copy/paste bugErik Michaels-Ober2010-10-061-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | calling correct method on minitest for test name when teardown callback failsAaron Patterson2010-10-041-0/+19
| |
* | [#5406 state:resolved] calling the correct method on minitest to obtain the ↵Aaron Patterson2010-10-041-0/+38
| | | | | | | | test name
* | PERF: more Hash + map changesSantiago Pastorino2010-10-031-3/+3
| |
* | remove another lolinjectAaron Patterson2010-10-011-1/+1
| |
* | speed up index_by by removing a lolinjectAaron Patterson2010-10-011-4/+1
| |
* | removing AS::Testing::Default in favor of just undefing default_testAaron Patterson2010-10-013-18/+1
|/
* Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-281-0/+8
|
* revises RDoc of Hash#to_param to be more precise about orderingXavier Noria2010-09-281-2/+2
|
* let Hash#to_param and Hash#to_query sort againXavier Noria2010-09-282-5/+10
| | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys.
* Test for after_create callback order in ActiveSupport [#5703 state:resolved]Neeraj Singh2010-09-271-0/+23
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* after_create in ActiveModel should in the order specifiedNeeraj Singh2010-09-271-1/+1
| | | | | | [#5650 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'miloops/warnings'José Valim2010-09-271-0/+1
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb
| * Remove method if already exists to avoid warnings.Emilio Tagua2010-09-271-0/+1
| |
* | Call it compile_methods! and do the same on AM.José Valim2010-09-272-4/+4
| |
* | Make assert_valid_keys slightly faster.thedarkone2010-09-272-5/+7
| |
* | No need for an extra wrapper array.thedarkone2010-09-271-1/+1
| |
* | Use native attr_* macros for performance reasons.thedarkone2010-09-271-6/+13
| |
* | Creating singleton class for every object whenever the instance-level ↵thedarkone2010-09-271-1/+21
| | | | | | | | accessor is used quite is expensive.
* | Try to use Hash's native #[] for speed.thedarkone2010-09-272-2/+8
| |
* | Make InheritableOptions's constructor more flexible.thedarkone2010-09-272-3/+7
| |
* | Compile ActionController::Base.config's methods to avoid method_missing ↵thedarkone2010-09-273-2/+44
|/ | | | overhead.
* Fix 'warning: method redefined' [#5551 state:resolved]Krekoten' Marjan2010-09-251-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* memoized protected methods should remain protectedAndrew Kaspick2010-09-242-0/+16
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* attr_accessor_with_default should raise an ArgumentError not a RuntimeErrorAaron Patterson2010-09-242-4/+3
|
* Use map, no need to use inject here.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Perf: speed up json encoding.Emilio Tagua2010-09-221-3/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor inject use in hash conversions.Emilio Tagua2010-09-221-8/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Exception handling more readableThiago Pradi2010-09-194-10/+10
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use `Time.current` to maintain consistency with AS::DurationPrem Sichanugrist2010-09-192-2/+40
| | | | | | | | | | In [32b82e4c6f5523cdf5ee78c3022c50b46e018351], the committer has switch methods in AS::Duration to use `Time.current` to return the correct duration based on the `Time.default_zone` instead of using `Time.now`. [#5607 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Move capture to Kernel. [#5641 state:resolved]Krekoten' Marjan2010-09-182-0/+24
|