Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #20362 from kddeisz/enumerable_pluck | Rafael Mendonça França | 2015-06-01 | 1 | -2/+9 |
|\ | | | | | Allow Enumerable#pluck to take a splat. | ||||
| * | Allow Enumerable#pluck to take a splat. | Kevin Deisz | 2015-05-29 | 1 | -2/+9 |
| | | | | | | | | | | | | This allows easier integration with ActiveRecord, such that AR#pluck will now use Enumerable#pluck if the relation is loaded, without needing to hit the database. | ||||
* | | Merge pull request #20138 from tgxworld/deprecated_assert_template | Rafael Mendonça França | 2015-06-01 | 1 | -1/+1 |
|\ \ | | | | | | | Deprecate `assert_template` and `assigns()`. | ||||
| * | | Remove `assigns` and `assert_template`. | Guo Xiang Tan | 2015-05-30 | 1 | -1/+1 |
| | | | |||||
* | | | Fix a range of values for parameters of the Time#change | Nikolay Kondratyev | 2015-06-01 | 1 | -1/+1 |
|/ / | | | | | | | | | Passing 999999000 < `:nsec` < 999999999 and 999999 < `:usec` < 1000000 to change a time with utc_offset doesn't throw an `ArgumentError`. | ||||
* / | Revert "Replace use of alias chains with prepend at core_ext/date and ↵ | Roque Pinel | 2015-05-29 | 5 | -79/+89 |
|/ | | | | core_ext/time" | ||||
* | Merge pull request #19878 from pabloh/replace_alias_chains_with_prepend | Rafael Mendonça França | 2015-05-28 | 5 | -89/+79 |
|\ | | | | | Replace use of alias chains with prepend at core_ext/date and core_ext/time | ||||
| * | Replace use of alias chains with prepend at core_ext/date | Pablo Herrero | 2015-05-04 | 5 | -89/+79 |
| | | |||||
* | | Add Enumerable#pluck. | Kevin Deisz | 2015-05-28 | 1 | -0/+8 |
| | | | | | | | | Allows fetching the same values from arrays as from ActiveRecord associations. | ||||
* | | Fix indentation warning on active_support ordered_options | Mehmet Emin İNAÇ | 2015-05-27 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #20297 from gouravtiwari/patch-9 | Claudio B. | 2015-05-26 | 1 | -0/+6 |
|\ \ | | | | | | | Added multibyte slice! example to doc [ci skip] | ||||
| * | | Added multibyte slice! example to doc [ci skip] | Gourav Tiwari | 2015-05-26 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #20208 from gaurish/raise_on_missing_ordered_options | Rafael Mendonça França | 2015-05-26 | 1 | -1/+7 |
|\ \ \ | | | | | | | | | | | | | Add bang version to OrderedOptions | ||||
| * | | | Add bang version to OrderedOptions | Gaurish Sharma | 2015-05-23 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | By: Aditya Sanghi(@asanghi) Gaurish Sharma(gaurish) | ||||
* | | | | Remove redundant 'like' from doc of slice! method [ci skip] | Mehmet Emin İNAÇ | 2015-05-26 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #16938 from akshay-vishnoi/remove-deprication | Yves Senn | 2015-05-26 | 2 | -46/+0 |
|\ \ \ \ | |_|/ / |/| | | | | | | | Remove `.superclass_delegating_accessor`. | ||||
| * | | | Remove `.superclass_delegating_accessor`. Refer #14271 | Akshay Vishnoi | 2015-05-24 | 2 | -46/+0 |
| |/ / | |||||
* | | | [skip ci] Update documentation for Duration#to_s | Anton Davydov | 2015-05-25 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #20286 from davydovanton/doc-deprecation-behavior | Abdelkader Boudih | 2015-05-25 | 1 | -0/+12 |
|\ \ \ | | | | | | | | | Add documentation for Deprecation::Behavior module | ||||
| * | | | [skip ci] Add documentation for Deprecation::Behavior module | Anton Davydov | 2015-05-25 | 1 | -0/+12 |
| | | | | |||||
* | | | | s/contstant/constant re #20282 [ci skip] | Zachary Scott | 2015-05-24 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #20282 from davydovanton/doc-proxy-wrappers | Zachary Scott | 2015-05-24 | 1 | -0/+5 |
|\ \ \ \ | | | | | | | | | | | Add documentation for DeprecatedConstantProxy#class | ||||
| * | | | | [skip ci] Add documentation for DeprecatedConstantProxy#class | Anton Davydov | 2015-05-24 | 1 | -0/+5 |
| |/ / / | |||||
* | / / | use keyword arguments in HTTP request methods of assert_difference example ↵ | yuuji.yaginuma | 2015-05-24 | 1 | -9/+9 |
| |/ / |/| | | | | | | | | [ci skip] | ||||
* | | | Merge pull request #20251 from davydovanton/doc-memory-store | Rafael Mendonça França | 2015-05-21 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | Add nodoc label for protected Cache methods | ||||
| * | | | [skip ci] Add nodoc label for protected Cache methods | Anton Davydov | 2015-05-22 | 2 | -2/+2 |
| |/ / | |||||
* | | | Merge pull request #20250 from davydovanton/doc-mem-cache-store | Rafael Mendonça França | 2015-05-21 | 1 | -1/+8 |
|\ \ \ | | | | | | | | | Update documentation for MemCacheStore::build_mem_cache [ci skip] | ||||
| * | | | [skip ci] Update documentation for MemCacheStore::build_mem_cache | Anton Davydov | 2015-05-21 | 1 | -1/+8 |
| |/ / | |||||
* | | | Merge pull request #20247 from davydovanton/doc-array-inquirer | Abdelkader Boudih | 2015-05-21 | 1 | -4/+10 |
|\ \ \ | | | | | | | | | Update documentation for ArrayInquirer#any? | ||||
| * | | | [skip ci] Update documentation for ArrayInquirer#any? | Anton Davydov | 2015-05-21 | 1 | -4/+10 |
| |/ / | |||||
* / / | [skip ci] Update documentation for Date class | Anton Davydov | 2015-05-21 | 1 | -0/+6 |
|/ / | |||||
* | | Give respond_to? a Symbol | Akira Matsuda | 2015-05-20 | 1 | -1/+1 |
| | | |||||
* | | Small stylistic tweaks for `Delegator#try` patch | Godfrey Chan | 2015-05-19 | 1 | -5/+5 |
| | | | | | | | | | | | | * Rename `ActiveSupport::Try` => `ActiveSupport::Tryable` * Include the modules inline * `private` indentation | ||||
* | | Patch `Delegator` to work with `#try` | Nate Smith | 2015-05-19 | 1 | -17/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | `Delegator` inherits from `BasicObject`, which means that it will not have `Object#try` defined. It will then delegate the call to the underlying object, which will not (necessarily) respond to the method defined in the enclosing `Delegator`. This patches `Delegator` with the `#try` method to work around the surprising behaviour. Fixes #5790 | ||||
* | | Only define #positive? and #negative? on Ruby 2.2 | Rafael Mendonça França | 2015-05-19 | 1 | -0/+7 |
| | | | | | | | | | | | | | | The feature was accepted and added to Ruby 2.3+ so we don't need to define it again. See https://bugs.ruby-lang.org/issues/11151 | ||||
* | | Merge pull request #20143 from vngrs/move_integer_positive_negative_to_numeric | Rafael Mendonça França | 2015-05-19 | 3 | -2/+2 |
|\ \ | | | | | | | | | | Move Integer#positive? and Integer#negative? query methods to Numeric | ||||
| * | | Move Integer#positive? and Integer#negative? query methods to Numeric class | Mehmet Emin İNAÇ | 2015-05-13 | 3 | -2/+2 |
| | | | | | | | | | | | | By this way Integer, Rational, Float, Fixnum, Bignum classes have the same behaviour | ||||
* | | | Fix grammar. [CI SKIP] | Guo Xiang Tan | 2015-05-19 | 1 | -1/+1 |
| | | | |||||
* | | | [ci skip] remove unnecessary mention to Test::Unit from docs | Roque Pinel | 2015-05-16 | 1 | -4/+4 |
|/ / | | | | | | | | | | | | | | | Fix the guide to state that Rails uses Minitest as the default test framework. Remove unnecessary mention to Test::Unit from the API docs ('constantize' and 'safe_constantize'). | ||||
* | | Minor comment fix. [ci skip] | Zoltan Kiss | 2015-05-13 | 1 | -4/+4 |
| | | |||||
* | | Add Integer#positive? and Integer#negative? query methods in the vein of ↵ | David Heinemeier Hansson | 2015-05-13 | 2 | -0/+20 |
| | | | | | | | | Fixnum#zero? | ||||
* | | Remove not used `options` argument from `ActiveSupport::JSON.decode` | Carlos Antonio da Silva | 2015-05-13 | 1 | -8/+2 |
| | | | | | | | | | | | | In Rails 4.0, json decoding relied on MultiJson. This changed from 4.1 forward since it reached its end of life, and this extra argument was kept for compatibility. We are safe to remove it now. | ||||
* | | Merge pull request #20049 from iamvery/patch-1 | Yves Senn | 2015-05-07 | 1 | -1/+13 |
|\ \ | | | | | | | | | | Amend `next_week` documentation [ci skip] | ||||
| * | | Add examples of Date and Time `next_week` usage | Jay Hayes | 2015-05-07 | 1 | -0/+7 |
|/ / | | | | | | | [skip ci] | ||||
* | | deep_dup method, remove old key from duplicated hash to avoid unnecessary pairs | Mehmet Emin İNAÇ | 2015-05-04 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #20006 from vngrs/refactor_test_order_method | Rafael Mendonça França | 2015-05-04 | 1 | -8/+1 |
|\ \ | | | | | | | refactor ActiveSupport::TestCase.test_order method with memoization | ||||
| * | | refactor ActiveSupport::TestCase.test_order method with memoization | Mehmet Emin İNAÇ | 2015-05-04 | 1 | -8/+1 |
| |/ | |||||
* / | Tiny documentation edits [ci skip] | Robin Dupret | 2015-05-04 | 1 | -14/+16 |
|/ | | | | | | * Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>` | ||||
* | [ci skip] Update ActiveSupport::Rails and ActiveSupport::Rescuable docs | DAVID MOORE | 2015-04-26 | 2 | -3/+3 |
| | | | | [Dave Moore] | ||||
* | Merge pull request #19902 from khundawg/dm-active-support-subsciber-doc | Richard Schneeman | 2015-04-25 | 1 | -2/+2 |
|\ | | | | | [ci skip] Update ActiveSupport::Subscriber documentation |