1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Ryuta Kamizono 3dbe9a50d7 Using a class method is not the preferred way to accept arguments for scopes
I'm not sure why using a class method is the preferred way 10 years ago.

b4b2574...226a2a9

But at least in Rails 6.1, using a scope is the preferred way since
several scoping issues will be fixed only for scopes.

[ci skip]
2019-09-28 16:58:16 +09:00
..
assets [ci skip] Markdown highlight doesn't work in <ul>. Add CSS to fix. 2019-09-01 11:11:42 +05:30
bug_report_templates Fixed ActionController Gem bug report by adding allowed hosts config 2019-08-21 14:32:58 +05:30
rails_guides Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
source Using a class method is not the preferred way to accept arguments for scopes 2019-09-28 16:58:16 +09:00
.document
CHANGELOG.md Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
rails_guides.rb
Rakefile Respect ENV variables when finding DBs etc for the test suite 2019-02-06 01:20:06 +10:30
w3c_validator.rb