Skip to content

Commit

Permalink
Update active_record_relations.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwise-aiden authored Jun 27, 2024
1 parent ea23f3d commit f59f79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tapioca/dsl/compilers/active_record_relations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def gather_constants
QUERY_METHODS = T.let(
begin
# Grab all Query methods
query_methods = ActiveRecord::QueryMethods.instance_methods(false) -
query_methods = ActiveRecord::QueryMethods.instance_methods(false) -
ActiveRecord::Relation.instance_methods
# Grab all Spawn methods
query_methods |= ActiveRecord::SpawnMethods.instance_methods(false)
Expand Down

0 comments on commit f59f79f

Please sign in to comment.