aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* 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-011-1/+7
| | | | | | 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-011-1/+1
| | | | | | [#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-011-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* let String#strip_heredoc handle blank lines even if they are not indentedXavier Noria2010-08-301-3/+5
|
* implements String#strip_heredocXavier Noria2010-08-292-1/+26
|
* Support pluggable cache stores.Mike Perham2010-08-281-1/+8
| | | | | | [#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
|
* removing unused codeAaron Patterson2010-08-221-1/+1
|
* now for real, the suite loads everything and these went unpatchedXavier Noria2010-08-191-3/+3
|
* avoids a ton o warnings ↵Xavier Noria2010-08-192-4/+7
| | | | activesupport/lib/active_support/dependencies.rb:239: warning: loading in progress, circular require considered harmful ... activesupport/lib/active_support/core_ext/hash/indifferent_access.rb while running the suite in Ruby 1.9.2