- 25 11月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
It should be part of the documented public API, since we have an entire section of the guides dedicated to it. Documented in a way that addresses the concerns which kept it undocumented in the past.
-
- 10 11月, 2014 1 次提交
-
-
由 betesh 提交于
-
- 07 11月, 2014 1 次提交
-
-
由 Rishi Jain 提交于
-
- 06 11月, 2014 1 次提交
-
-
由 Rishi Jain 提交于
pattern removal added example for string#remove and test case for remove of multiple occurence of pattern removed extra whitespaces
-
- 04 11月, 2014 3 次提交
-
-
由 Vijay Dev 提交于
-
由 Rishi Jain 提交于
-
由 Rishi Jain 提交于
-
- 29 10月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
This patch uniformizes warning messages. I used the most common style already present in the code base: * Capitalize the first word. * End the message with a full stop. * "Rails 5" instead of "Rails 5.0". * Backticks for method names and inline code. Also, converted a few long strings into the new heredoc convention.
-
- 26 10月, 2014 1 次提交
-
-
由 Pavel Pravosud 提交于
-
- 25 10月, 2014 5 次提交
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Godfrey Chan 提交于
@carlosantoniodasilva pointed out that when `@person` is nil then this would blow up when you ended up calling `#first`on `nil`. > "there’s no way to break a try chain when you enter it :D" [ci skip]
-
由 Zachary Scott 提交于
-
由 Eugene Gilburg 提交于
- better `if` example - Added chaining example to the try method description - Documented the `respond_to?` check to the try method description - Clearer wording to explain that argument error is raised on argument mismatch to responding method, rather than to non-responding method (which is handled without exception by `try`) - `.any?` is more precise than `! .blank?` - Don't need to use `try` on `children` as (for regular associations) they will always be a collection or array that responds to `first` - Fix typos/grammar
-
- 24 10月, 2014 1 次提交
-
-
由 Ari Pollak 提交于
-
- 23 10月, 2014 1 次提交
-
-
由 Ari Pollak 提交于
Based on commit 5e51bdda.
-
- 19 10月, 2014 1 次提交
-
-
由 Pramod Sharma 提交于
[ci skip] Add Doc of with_options for the case when inherited default options and original options have same keys
-
- 10 10月, 2014 1 次提交
-
-
由 Roberto Zanon 提交于
atomic_write rescue also Errno::EACCES on changing file permission. It could be raised with some type of filesystem
-
- 04 10月, 2014 1 次提交
-
-
由 Kuldeep Aggarwal 提交于
-
- 25 9月, 2014 1 次提交
-
-
由 Pramod Sharma 提交于
[ci skip] Add Doc of with_options for the case when inherited default options and original options have same keys
-
- 19 9月, 2014 1 次提交
-
-
由 Agis- 提交于
Fixes #16956.
-
- 18 9月, 2014 1 次提交
-
-
由 Akshay Vishnoi 提交于
1. spacing issues 2. spelling correction 3. grammar correction 4. Add missing docs
-
- 15 9月, 2014 1 次提交
-
-
由 Matthew Draper 提交于
Ruby 2.2 knows this, and no longer matches it with [[:space:]], so it's not a good candidate for testing String#squish.
-
- 14 9月, 2014 1 次提交
-
-
由 Agis- 提交于
Closes #16392.
-
- 05 9月, 2014 1 次提交
-
-
由 Agis- 提交于
https://github.com/rails/rails/commit/98b46bf5e201307cae56ee14bf41363a539779c5 did not properly handled out-of-range `:usec`s. Passing a `:usec` that's out of range now throws an `ArgumentError` as it should. Fixes #16759.
-
- 04 9月, 2014 1 次提交
-
-
由 Peter Jaros 提交于
-
- 30 8月, 2014 4 次提交
-
-
由 David Heinemeier Hansson 提交于
We tenderized the wrong method! Object#try already had the yield option, just needed some tenderloving instance_eval to fit the bill
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 20 8月, 2014 1 次提交
-
-
由 Zachary Scott 提交于
Also moved comment for removal above `unless()` to not confuse RDoc with the documentation for this method.
-
- 07 8月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
Fixes #16406
-
- 05 8月, 2014 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Jon Atack 提交于
-
由 Rafael Mendonça França 提交于
Ruby 2.2 will include Kernel#itself so we don't need to define again. See https://github.com/ruby/ruby/commit/0a0160d6b659f6131a525fe1579e7c463d4c197e
-
- 02 8月, 2014 2 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 31 7月, 2014 1 次提交
-
-
由 Xavier Shay 提交于
This is more consistent than the current behaviour of raising a `ZeroDivisionError: divided by 0` error when 0 is given, which can be non-obvious especially if `in_groups_of` is part of a longer chain of methods. The negative case was ok - "ArgumentError: invalid slice size" - but this error is clearer still.
-
- 30 7月, 2014 1 次提交
-
-
由 Pavel Pravosud 提交于
-
- 29 7月, 2014 1 次提交
-
-
由 Godfrey Chan 提交于
`Time#as_json`, `Date#as_json` and `DateTime#as_json` incorrectly depends on a delegation that is set up in `active_support/json/encoding`. We cannot simply require that file in `core_ext/object/json` because it would cause a circular dependency problem (see #12203 for background). We should instead rely on AS's autoload to load that file for us on-demand. To trigger autoload correctly, we need to reference the `AS::JSON::Encoding` constant instead of using the delegated version. Fixes #16131.
-