Skip to content

Commit

Permalink
Annotate ActiveRecord::Relation#blank?
Browse files Browse the repository at this point in the history
  • Loading branch information
bdewater committed Feb 14, 2024
1 parent 58a6029 commit 591329f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rbi/annotations/activerecord.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,8 @@ class ActiveRecord::Base
end
def self.after_rollback(*args, **options, &block); end
end

class ActiveRecord::Relation
sig { returns(T::Boolean) }
def blank?; end
end

0 comments on commit 591329f

Please sign in to comment.