aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-101-0/+2
| | | | | | [#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>
* | 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-012-11/+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-281-2/+3
| | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys.
* 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-271-3/+3
| |
* | Make assert_valid_keys slightly faster.thedarkone2010-09-271-4/+6
| |
* | 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-272-2/+26
|/ | | | 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-241-0/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* attr_accessor_with_default should raise an ArgumentError not a RuntimeErrorAaron Patterson2010-09-241-3/+2
|
* 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-192-6/+6
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use `Time.current` to maintain consistency with AS::DurationPrem Sichanugrist2010-09-191-2/+2
| | | | | | | | | | 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-181-0/+19
|
* Merge remote branch 'docrails/master'Xavier Noria2010-09-141-3/+3
|\
| * Reference watch_namespaces in comments instead of watch_modulesMarcelo Giorgi2010-09-131-3/+3
| |
* | Require lazy_load_hooks.rb with the correct path.Carl Lerche2010-09-141-1/+1
| |
* | require i18n in transliterate so it can run in isolated situationsJack Dempsey2010-09-142-0/+2
| |
* | Remove dummy method definition in favor of RDoc hints:Aaron Patterson2010-09-111-7/+5
| | | | | | | | http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html
* | fixed some issues with JSON encodingJakub Suder2010-09-071-6/+44
|/ | | | | | | | | | | - as_json in ActiveModel should return a hash and handle :only/:except/:methods options - Array and Hash should call as_json on their elements - json methods should not modify options argument [#5374 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Refactor a bit dependencies loggingCarlos Antonio da Silva2010-09-051-4/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Improve dependencies by not calling constantize(const) twice while removing ↵Carlos Antonio da Silva2010-09-051-3/+4
| | | | | | unloadable constants Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-022-3/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.