class SoccerTeam < ActiveRecord::Base
has_one :captain
has_many team_members
end
フツーに考えれば当たり前のことだよねぇ…orz
More than 5 years have passed since last update.
class SoccerTeam < ActiveRecord::Base
has_one :captain
has_many team_members
end
フツーに考えれば当たり前のことだよねぇ…orz
Register as a new user and use Qiita more conveniently