aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-072-7/+108
|/ | | | | | | | | | | - 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.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-022-0/+3
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add before_remove_const callback to ↵Andrew White2010-09-013-2/+19
| | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com>
* delegate method should treat :prefix => false same as :prefix => nilNeeraj Singh2010-09-012-1/+14
| | | | | | [#5375 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 ↵Krekoten' Marjan2010-09-012-1/+9
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* If certain sections of skip_callback method are commented out thenNeeraj Singh2010-08-311-0/+27
| | | | | | | no test was failing. Tests have been added to ensure that commenting out the code within if loop would cause test failure. Signed-off-by: José Valim <jose.valim@gmail.com>
* let String#strip_heredoc handle blank lines even if they are not indentedXavier Noria2010-08-302-3/+14
|
* Update CHANGELOGs for 3.0 release and upcoming 3.1Jeremy Kemper2010-08-291-20/+5
|
* implements String#strip_heredocXavier Noria2010-08-294-1/+51
|
* Support pluggable cache stores.Mike Perham2010-08-282-1/+18
| | | | | | [#5486 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Prevent any warnings from being printed during RDoc generationJoost Baaij2010-08-261-1/+1
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-1/+1
|
* adds missing require for #parameterizeXavier Noria2010-08-261-0/+2
|
* better callstack reporting in deprecation messagesJakub Suder2010-08-251-4/+8
| | | | | | | | | | now the reported line is the first line in the stack that's outside Rails, which is the one that actually caused the problem in the first place [#5231 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Master is now targeting 3.1.0.betaDavid Heinemeier Hansson2010-08-231-2/+2
|
* Config is deprecated on 1.8.8 and 1.9.3 use RbConfigSantiago Pastorino2010-08-232-2/+2
|
* making variable names a little more clearAaron Patterson2010-08-231-1/+2
|