- 27 10月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
Regexp#match? should be considered to be part of the Ruby core library. We are emulating it for < 2.4, but not having to require the extension is part of the illusion of the emulation.
-
- 25 10月, 2016 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 15 10月, 2016 1 次提交
-
-
由 Iain Beeston 提交于
-
- 11 10月, 2016 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
`#get`, `#set`, `[]=`, `add_on_empty` and `add_on_blank`.
-
- 03 10月, 2016 1 次提交
-
-
由 Iain Beeston 提交于
Should be ActiveRecord::Attributes (ActiveModel::Attributes does not exist)
-
- 27 9月, 2016 1 次提交
-
-
由 Jean Boussier 提交于
-
- 17 9月, 2016 2 次提交
-
-
由 Andrey Molchanov 提交于
-
由 Michael Grosser 提交于
assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
-
- 16 9月, 2016 2 次提交
-
-
由 Louis-Michel Couture 提交于
-
由 Louis-Michel Couture 提交于
Fix potentially misleading example.
-
- 14 9月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
All indentation was normalized by rubocop auto-correct at 80e66cc4. But comments was still kept absolute position. This commit aligns comments with method definitions for consistency.
-
- 06 9月, 2016 1 次提交
-
-
由 Alex Kitchens 提交于
Recently, the Rails team made an effort to keep the source code consistent, using Ruboco (bb1ecdcc and below). Some of the case statements were missed. This changes the case statements' formatting and is consistent with changes in 810dff7c and db63406c.
-
- 02 9月, 2016 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 28 8月, 2016 2 次提交
-
-
由 Guillermo Iguaran 提交于
NumericalityValidator#validate_each is never called when allow_nil is true and the value is nil because it is already skipped in EachValidator#validate.
-
由 Nicolai Reuschling 提交于
Signed-off-by: NGuillermo Iguaran <guilleiguaran@gmail.com>
-
- 27 8月, 2016 1 次提交
-
-
由 Georg Ledermann 提交于
This fixes a copy-and-paste-issue slipped in by #18996
-
- 16 8月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
-
- 11 8月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
Thinking .. relative to files is not natural, we are used to think "parent of a directory", and we have __dir__ nowadays.
-
- 10 8月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Hash syntax auto-correcting breaks alignments. 411ccbda
-
- 08 8月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required.
-
由 Xavier Noria 提交于
Some case expressions remain, need to think about those ones.
-
- 07 8月, 2016 9 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 25 7月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
In Ruby ^ and $ mean start and end of *line*. A regexp that validates an email should not check if some line of the string looks like an email, and maybe be surrounded by the entire Joyce's Ulysses. What the regexp has to check is if the string itself looks like an email. This validator is used only in tests, the ^/$ anchors implied no risk.
-
由 Xavier Noria 提交于
-
- 11 7月, 2016 1 次提交
-
-
由 David Elliott 提交于
add documentation of the behaviors of type coercion at the class level
-
- 25 6月, 2016 1 次提交
-
-
由 Robin Dupret 提交于
Fix a tiny typo and vertical-align some return results in the ActiveModel::Errors documentation.
-
- 23 6月, 2016 1 次提交
-
-
由 Alex Kitchens 提交于
-
- 21 6月, 2016 1 次提交
-
-
由 Jon Moss 提交于
Fixes #25410.
-