app/models/costume.rb
# instanstiates an instance of costume assignment for each current dancer w/ the dancer's id
instanstiates an instance of costume assignment for each current dancer w/ the dancer's id
instanstiates an instance of costume assignment for each current dancer w / the dancer ' s id
def build_assignments_with_dancer_id(studio)
    studio.dancers.current_dancers.each do |dancer|
      costume_assignments.build(dancer_id: dancer.id)
    end
  end
def build_assignments_with_dancer_id ( studio ) studio . dancers . current_dancers . each do | dancer | costume_assignments . build ( dancer_id : dancer . id ) end end
instanstiates an instance of costume assignment for each current dancer w/ the dancer's id
instanstiates an instance of costume assignment for each current dancer w / the dancer ' s id
studio
<not_specific>