Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revises RDoc of Hash#to_param to be more precise about ordering | Xavier Noria | 2010-09-28 | 1 | -2/+2 |
| | |||||
* | let Hash#to_param and Hash#to_query sort again | Xavier Noria | 2010-09-28 | 1 | -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 specified | Neeraj Singh | 2010-09-27 | 1 | -1/+1 |
| | | | | | | [#5650 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | ||||
| * | Remove method if already exists to avoid warnings. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | | |||||
* | | Call it compile_methods! and do the same on AM. | José Valim | 2010-09-27 | 1 | -3/+3 |
| | | |||||
* | | Make assert_valid_keys slightly faster. | thedarkone | 2010-09-27 | 1 | -4/+6 |
| | | |||||
* | | No need for an extra wrapper array. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | | |||||
* | | Use native attr_* macros for performance reasons. | thedarkone | 2010-09-27 | 1 | -6/+13 |
| | | |||||
* | | Creating singleton class for every object whenever the instance-level ↵ | thedarkone | 2010-09-27 | 1 | -1/+21 |
| | | | | | | | | accessor is used quite is expensive. | ||||
* | | Try to use Hash's native #[] for speed. | thedarkone | 2010-09-27 | 2 | -2/+8 |
| | | |||||
* | | Make InheritableOptions's constructor more flexible. | thedarkone | 2010-09-27 | 2 | -3/+7 |
| | | |||||
* | | Compile ActionController::Base.config's methods to avoid method_missing ↵ | thedarkone | 2010-09-27 | 2 | -2/+26 |
|/ | | | | overhead. | ||||
* | Fix 'warning: method redefined' [#5551 state:resolved] | Krekoten' Marjan | 2010-09-25 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | memoized protected methods should remain protected | Andrew Kaspick | 2010-09-24 | 1 | -0/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | attr_accessor_with_default should raise an ArgumentError not a RuntimeError | Aaron Patterson | 2010-09-24 | 1 | -3/+2 |
| | |||||
* | Use map, no need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -4/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Perf: speed up json encoding. | Emilio Tagua | 2010-09-22 | 1 | -3/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Refactor inject use in hash conversions. | Emilio Tagua | 2010-09-22 | 1 | -8/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Exception handling more readable | Thiago Pradi | 2010-09-19 | 2 | -6/+6 |
| | | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Use `Time.current` to maintain consistency with AS::Duration | Prem Sichanugrist | 2010-09-19 | 1 | -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' Marjan | 2010-09-18 | 1 | -0/+19 |
| | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-09-14 | 1 | -3/+3 |
|\ | |||||
| * | Reference watch_namespaces in comments instead of watch_modules | Marcelo Giorgi | 2010-09-13 | 1 | -3/+3 |
| | | |||||
* | | Require lazy_load_hooks.rb with the correct path. | Carl Lerche | 2010-09-14 | 1 | -1/+1 |
| | | |||||
* | | require i18n in transliterate so it can run in isolated situations | Jack Dempsey | 2010-09-14 | 2 | -0/+2 |
| | | |||||
* | | Remove dummy method definition in favor of RDoc hints: | Aaron Patterson | 2010-09-11 | 1 | -7/+5 |
| | | | | | | | | http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html | ||||
* | | fixed some issues with JSON encoding | Jakub Suder | 2010-09-07 | 1 | -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 logging | Carlos Antonio da Silva | 2010-09-05 | 1 | -4/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve dependencies by not calling constantize(const) twice while removing ↵ | Carlos Antonio da Silva | 2010-09-05 | 1 | -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é Valim | 2010-09-02 | 2 | -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łkowski | 2010-09-02 | 2 | -0/+3 |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add before_remove_const callback to ↵ | Andrew White | 2010-09-01 | 1 | -1/+7 |
| | | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | delegate method should treat :prefix => false same as :prefix => nil | Neeraj Singh | 2010-09-01 | 1 | -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' Marjan | 2010-09-01 | 1 | -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 indented | Xavier Noria | 2010-08-30 | 1 | -3/+5 |
| | |||||
* | implements String#strip_heredoc | Xavier Noria | 2010-08-29 | 2 | -1/+26 |
| | |||||
* | Support pluggable cache stores. | Mike Perham | 2010-08-28 | 1 | -1/+8 |
| | | | | | | [#5486 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Prevent any warnings from being printed during RDoc generation | Joost Baaij | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | lifecycle should be two words, life cycle | Jaime Iniesta | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | adds missing require for #parameterize | Xavier Noria | 2010-08-26 | 1 | -0/+2 |
| | |||||
* | better callstack reporting in deprecation messages | Jakub Suder | 2010-08-25 | 1 | -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.beta | David Heinemeier Hansson | 2010-08-23 | 1 | -2/+2 |
| | |||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 2 | -2/+2 |
| | |||||
* | making variable names a little more clear | Aaron Patterson | 2010-08-23 | 1 | -1/+2 |
| | |||||
* | removing unused code | Aaron Patterson | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | now for real, the suite loads everything and these went unpatched | Xavier Noria | 2010-08-19 | 1 | -3/+3 |
| | |||||
* | avoids a ton o warnings ↵ | Xavier Noria | 2010-08-19 | 2 | -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 | ||||
* | 1.8 block variable shadowing strikes again | wycats | 2010-08-17 | 1 | -2/+2 |
| | |||||
* | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 1 | -38/+56 |
| |