Skip to content

Commit

Permalink
Merge pull request #109 from tk0miya/typing_module_habtm
Browse files Browse the repository at this point in the history
RBS: Decleare Profile#profile_badges manually
  • Loading branch information
unasuke authored Nov 7, 2023
2 parents aae7eef + 7ca3951 commit 8e1bbb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sig/handwritten/app/models/profile.rbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
class Profile < ::ApplicationRecord
# NOTE: This method has been declared manually because current rbs_rails does not support HABTM.
# It should be removed if rbs_rails will support it.
# refs: https://github.com/pocke/rbs_rails/pull/272
def profile_badges: () -> ProfileBadge::ActiveRecord_Associations_CollectionProxy

def ensure_image_from_github: () -> void

private def fetch_profile_image_from_github: () -> untyped
Expand Down

0 comments on commit 8e1bbb0

Please sign in to comment.