- 04 1月, 2015 3 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
`silence_stderr`, `silence_stream`, `capture` and `quietly`.
-
由 Rafael Mendonça França 提交于
-
- 03 1月, 2015 3 次提交
-
-
由 Robin Dupret 提交于
-
由 Rafael Mendonça França 提交于
`MissingSourceFile` was just an alias to `LoadError` and was not being raised inside the framework.
-
由 Rafael Mendonça França 提交于
They are already present on Ruby 2.2
-
- 02 1月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
This constant may be define for auxiliar gems like rails-html-sanitizer and these methods call will fail.
-
- 31 12月, 2014 1 次提交
-
-
由 mntj 提交于
-
- 30 12月, 2014 1 次提交
-
-
由 Cristian Bica 提交于
-
- 29 12月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Vipul A M 提交于
When trying to access a character on a string buffer object via `:[]`, if the object being accessed currently returns `html_safe?` as true, we used to set `@html_safe` variable as true on new object created. When doing something like x = 'Hello'.html_safe x[/a/, 1] would throw an error on ruby 2.2, since when nothign gets matched nil is returned by the code and it tries to set `@html_safe` value to true, which would error since starting 2.2 nil is frozen. This change adds a safety net to avoid setting `@html_safe = true` on frozen objects. Fixes #18235
-
- 25 12月, 2014 1 次提交
-
-
由 claudiob 提交于
Add examples for missing_name, missing_name? [ci skip]
-
- 22 12月, 2014 1 次提交
-
-
由 claudiob 提交于
Also add doc examples for `Object.nil`. [ci skip]
-
- 18 12月, 2014 4 次提交
-
-
由 claudiob 提交于
Add docs for `minutes`, `hours`, `days`, `weeks` and `fortnights`. Fix docs for `in_milliseconds`. [ci skip]
-
由 claudiob 提交于
Add docs for `kilobytes`, `megabytes`, `gigabytes`, `terabytes`, `petabytes` and `exabytes`. Fix docs for `bytes`. [ci skip]
-
由 claudiob 提交于
Also improves docs for `Time#find_zone!` [ci skip]
-
- 12 12月, 2014 1 次提交
-
-
由 George Millo 提交于
-
- 05 12月, 2014 1 次提交
-
-
由 claudiob 提交于
Adds examples and keeps coherent with the documentation of the similar method `seconds_until_end_of_day`. [ci skip]
-
- 29 11月, 2014 2 次提交
-
-
由 Erik Michaels-Ober 提交于
-
由 Jean Boussier 提交于
-
- 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 提交于
-