1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/relation
Jean Boussier c91c266872 Enable Style/ExplicitBlockArgument cop
This reduce the stack size which is beneficial for
exceptions performance.

See: https://gist.github.com/byroot/cb3bcadcc3701c2518d002fb8d3a4e7a

However the cop is unsafe because it might change the block arity,
so it can run into some false positives.
2021-09-05 17:06:19 +02:00
..
batches Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
predicate_builder Fix where on polymorphic association with empty array 2021-01-09 13:33:57 +09:00
batches.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
calculations.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
delegation.rb Add option to skip joins for associations. 2021-04-19 11:17:31 -04:00
finder_methods.rb Fix odd closing parenthesis by enabling the Layout/ClosingParenthesisIndentation cop 2021-07-02 18:01:50 +09:00
from_clause.rb
merger.rb Fix merging select values from a different model's relation 2021-03-09 08:12:28 +09:00
predicate_builder.rb Avoid extra BindParam allocation to generate placeholder in queries 2021-03-02 18:09:05 +09:00
query_attribute.rb Don't use type.cast(value) to emulate unchecked serialized value in unboundable? 2021-03-15 12:23:40 +09:00
query_methods.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
record_fetch_warning.rb Make warn_on_records_fetched_greater_than a module instance variable 2021-06-10 18:24:38 +02:00
spawn_methods.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
where_clause.rb Fix WhereClause#extract_attributes to work it with a string where clause 2021-03-23 10:47:10 +09:00