Skip to content

Instantly share code, notes, and snippets.

View o-200's full-sized avatar
๐ŸŠ

Alexander Abramov o-200

๐ŸŠ
View GitHub Profile
@o-200
o-200 / after.rb
Last active January 22, 2025 15:37
test_task
#
# refactored
#
class User < ApplicationRecord
has_many :user_interests
has_many :interests, through: :user_interests
has_many :user_skills
has_many :skills, through: :user_skills
end