voormedia/rails-erd

View on GitHub
examples/associations/many-to-many-indirect/models/spell_mastery.rb

Summary

Maintainability
A
0 mins
Test Coverage
class SpellMastery < ActiveRecord::Base
  belongs_to :wizard
  belongs_to :spell
  validates_presence_of :wizard, :spell
end