aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* removing unused codeAaron Patterson2010-08-221-1/+1
|
* Silence warnings for Encoding.default_external= and Encoding.default_internal=Santiago Pastorino2010-08-221-3/+6
|
* Set default_internal and default_external on AS for testing purposesSantiago Pastorino2010-08-221-0/+8
|
* Trifling typosRaphomet2010-08-211-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* deletes the rdoc task of each component, they are no longer published separatelyXavier Noria2010-08-201-16/+0
|
* 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
* Bump up rdoc to 2.5.10Santiago Pastorino2010-08-181-1/+1
|
* run the AS tests in verbose modeAaron Patterson2010-08-171-0/+1
|
* 1.8 block variable shadowing strikes againwycats2010-08-171-2/+2
|
* Sadly, this segv's in 1.8 :(wycats2010-08-172-43/+61
|
* to_sentence should return a duplicateMatthew Mongeau2010-08-172-1/+6
|
* Merge remote branch 'docrails/master'Xavier Noria2010-08-171-1/+1
|\
| * recommended is the right word hereSantiago Pastorino2010-08-151-1/+1
| |
| * Revert "Add example label to activesupport/configurable"Xavier Noria2010-08-141-2/+0
| | | | | | | | | | | | This reverts commit f480b2cea69247239f6fc2ad171b231595cc08c6. Reason: API guidelines discourage this, see http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#example-code
| * Revert "Add example label to active_support/configurable"Xavier Noria2010-08-141-0/+1
| | | | | | | | | | | | This reverts commit 693f770afe0e14fc1b4658ef51910d993e67dd07. Reason: to be able to revert f480b2cea69247239f6fc2ad171b231595cc08c6