Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #29685 from ayanko/fix-slow-name-error-missing-name | Ryuta Kamizono | 2018-01-10 | 1 | -0/+5 |
|\ | | | | | Fix performance issue with NameError#missing_name on ruby >= v2.3.0. | ||||
| * | Fix performance issue with NameError#missing_name on ruby >= v2.3.0. | Andriy Yanko | 2017-07-10 | 1 | -0/+5 |
| | | | | | | | | | | Since ruby v2.3.0 `did_you_mean` gem shipped and ENABLED by default. It patches NameError#message with spell corrections which are SLOW. | ||||
* | | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | | |||||
* | | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
|/ | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | NameError#missing_name? can jsut use NameError#name if the arg is a Symbol | Yuki Nishijima | 2015-02-07 | 1 | -2/+1 |
| | | | | | | NameError#name returns a missing name as a symbol, so if the given name is a symbol, it doesn't have to use #missing_name to get the last constant name in the error message. | ||||
* | Better docs for NameError | claudiob | 2014-12-25 | 1 | -0/+14 |
| | | | | | | Add examples for missing_name, missing_name? [ci skip] | ||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 1 | -1/+3 |
| | | | | friendly nil errors for Array and Active Record methods. | ||||
* | Document NameError extensions | Jeremy Kemper | 2009-03-24 | 1 | -4/+3 |
| | |||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Nodoc the irrelevant (from 1.2) | David Heinemeier Hansson | 2007-01-26 | 1 | -4/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Raise fully qualified names upon name errors. Closes #5533. | Nicholas Seckar | 2006-08-05 | 1 | -1/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add extention to obtain the missing constant from NameError instances | Nicholas Seckar | 2006-08-05 | 1 | -0/+15 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |