Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Module#{define_method,alias_method,undef_method,remove_method} become public ↵ | Ryuta Kamizono | 2018-12-21 | 1 | -3/+3 |
| | | | | | | since Ruby 2.5 https://bugs.ruby-lang.org/issues/14133 | ||||
* | Change the empty block style to have space inside of the block | Rafael Mendonça França | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | Use respond_to test helpers | Daniel Colson | 2018-01-25 | 1 | -6/+6 |
| | |||||
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Fixed a bug in AR::Base#respond_to? | Godfrey Chan | 2014-01-29 | 1 | -0/+5 |
| | | | | | | | | | | | | Before: >> ActiveRecord::Base.respond_to?(:find_by_something) NoMethodError: undefined method `abstract_class?' for Object:Class After: >> ActiveRecord::Base.respond_to?(:find_by_something) => false | ||||
* | Avoid compiling regexs in AR::Base.respond_to? | John Hawthorn | 2013-08-21 | 1 | -0/+5 |
| | | | | | Caches the patterns of ActiveRecord::DynamicMatchers in a class instance variable. | ||||
* | Remove depreacted finders | Łukasz Strzałkowski | 2013-06-28 | 1 | -40/+0 |
| | | | | They were deprecated in 4.0, planned to remove in 4.1 | ||||
* | made dynamic finders alias_attribute aware | Maximilian Schneider | 2012-06-22 | 1 | -0/+5 |
| | | | | | previously dynamic finders only worked in combination with the actual column name and not its alias defined with #alias_attribute | ||||
* | stop `to_s`ing method names | Akira Matsuda | 2012-06-06 | 1 | -2/+1 |
| | | | | Module#methods are Symbols in Ruby >= 1.9 | ||||
* | Add dynamic find_or_create_by_{attribute}! method. | Andrew White | 2012-03-12 | 1 | -0/+10 |
| | |||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | Use better assertion methods for testing | Neeraj Singh | 2010-05-19 | 1 | -11/+11 |
| | | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure that respond_to? considers dynamic finder methods. Closes #11538. ↵ | Pratik Naik | 2008-04-06 | 1 | -0/+76 |
[floehopper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |