Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Artist < ActiveRecord::Base
- has_many :songs
- has_many :genres, through: :songs
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement