Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2010-12-20 | 3 | -0/+14 | |
|\| | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb | |||||
| * | Only convert direct hash instances in hash with indifferent access. | José Valim | 2010-11-26 | 1 | -0/+8 | |
| | | ||||||
| * | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 | |
| | | ||||||
| * | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -0/+5 | |
| | | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Add initial tests for WeakHash. | Emilio Tagua | 2010-11-19 | 1 | -0/+33 | |
|/ | ||||||
* | removes orphan tests, custom String#% was removed from AS in 39d6f9e | Xavier Noria | 2010-11-19 | 1 | -69/+0 | |
| | ||||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 1 | -4/+4 | |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | |||||
* | Add support for try to just yield the object to a block if no method is to ↵ | raggi | 2010-11-14 | 1 | -0/+10 | |
| | | | | be called. Kind of like a tap_if_present. | |||||
* | HashWithIndifferentAccess should not change the subclass of an array | Larry Sprock | 2010-11-14 | 1 | -0/+17 | |
| | ||||||
* | Merge remote branch 'drogus/plugin_new' | José Valim | 2010-11-11 | 1 | -0/+15 | |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | |||||
| * | Added Hash#deep_dup function which performs deep duplication on given hash | Piotr Sarnacki | 2010-11-02 | 1 | -0/+15 | |
| | | ||||||
* | | Fix ActiveSupport::TimeWithZone#localtime method with DateTime | Alvaro Bautista | 2010-11-11 | 1 | -0/+11 | |
| | | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Remove unused method | Santiago Pastorino | 2010-11-10 | 1 | -31/+0 | |
| | | ||||||
* | | Remove useless cgi | Denis Odorcic | 2010-11-10 | 1 | -15/+0 | |
| | | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Test cache.key_file_path with separators ht. Jim Wilson [#5611] | Santiago Pastorino | 2010-11-07 | 1 | -0/+5 | |
| | | ||||||
* | | Fix FileStore cache incorrectly regenerating its key from a pathname when a ↵ | Denis Odorcic | 2010-11-07 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | regexp is used in expire_fragment [#5850 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | OrderedHash#select now preserves order [#5843 state:resolved] | James A. Rosen | 2010-11-07 | 1 | -0/+8 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵ | laserlemon | 2010-11-07 | 1 | -1/+14 | |
| | | | | | | | | | | | | sublclasses) and default value [#5724 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | add more tests surrounding camlize in xmlmini, refactor rename_key() | Aaron Patterson | 2010-11-03 | 1 | -0/+12 | |
| | | ||||||
* | | Allowing to_xml :camelize option to be set to :lower to enable ↵ | Jeremy Holland | 2010-11-03 | 2 | -3/+10 | |
|/ | | | | lower-camelcase tags [#5903 state:resolved] | |||||
* | implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵ | Rob Zolkos & Xavier Noria | 2010-10-16 | 3 | -0/+50 | |
| | | | | state:committed] | |||||
* | Override #store to be consistent with #[]. | Andrea Campi | 2010-10-10 | 1 | -0/+10 | |
| | | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | calling correct method on minitest for test name when teardown callback fails | Aaron Patterson | 2010-10-04 | 1 | -0/+19 | |
| | ||||||
* | [#5406 state:resolved] calling the correct method on minitest to obtain the ↵ | Aaron Patterson | 2010-10-04 | 1 | -0/+38 | |
| | | | | test name | |||||
* | removing AS::Testing::Default in favor of just undefing default_test | Aaron Patterson | 2010-10-01 | 1 | -7/+0 | |
| | ||||||
* | let Hash#to_param and Hash#to_query sort again | Xavier Noria | 2010-09-28 | 1 | -3/+7 | |
| | | | | | 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 Singh | 2010-09-27 | 1 | -0/+23 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Call it compile_methods! and do the same on AM. | José Valim | 2010-09-27 | 1 | -1/+1 | |
| | ||||||
* | Make assert_valid_keys slightly faster. | thedarkone | 2010-09-27 | 1 | -1/+1 | |
| | ||||||
* | Compile ActionController::Base.config's methods to avoid method_missing ↵ | thedarkone | 2010-09-27 | 1 | -0/+18 | |
| | | | | overhead. | |||||
* | memoized protected methods should remain protected | Andrew Kaspick | 2010-09-24 | 1 | -0/+14 | |
| | | | | 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 | -1/+1 | |
| | ||||||
* | Exception handling more readable | Thiago Pradi | 2010-09-19 | 2 | -4/+4 | |
| | | | | | | [#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 | -0/+38 | |
| | | | | | | | | | | 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/+5 | |
| | ||||||
* | fixed some issues with JSON encoding | Jakub Suder | 2010-09-07 | 1 | -1/+64 | |
| | | | | | | | | | | | - 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> | |||||
* | Add before_remove_const callback to ↵ | Andrew White | 2010-09-01 | 1 | -0/+11 | |
| | | | | | | 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 | -0/+13 | |
| | | | | | | [#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 | -0/+8 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | If certain sections of skip_callback method are commented out then | Neeraj Singh | 2010-08-31 | 1 | -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 indented | Xavier Noria | 2010-08-30 | 1 | -0/+9 | |
| | ||||||
* | implements String#strip_heredoc | Xavier Noria | 2010-08-29 | 1 | -0/+23 | |
| | ||||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -3/+6 | |
| | ||||||
* | Set default_internal and default_external on AS for testing purposes | Santiago Pastorino | 2010-08-22 | 1 | -0/+8 | |
| | ||||||
* | Trifling typos | Raphomet | 2010-08-21 | 1 | -2/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 1 | -5/+5 | |
| | ||||||
* | to_sentence should return a duplicate | Matthew Mongeau | 2010-08-17 | 1 | -0/+5 | |
| | ||||||
* | Class Attribute setter returns set value | Peter Wagenet | 2010-08-16 | 1 | -0/+5 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | code gardening: we have assert_(nil|blank|present), more concise, with ↵ | Xavier Noria | 2010-08-17 | 1 | -2/+2 | |
| | | | | better default failure messages - let's use them | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 29 | -165/+165 | |
| | | | | 's/[ \t]*$//' -i {} \;) |