search for: incidentparticipants

Displaying 1 result from an estimated 1 matches for "incidentparticipants".

Did you mean: incident_participants
2013 Feb 08
1
Problem with many to many relationship
...gh: :incident_participants end The join table: class IncidentParticipant < ActiveRecord::Base include ActiveModel::ForbiddenAttributesProtection t.belongs_to :participant, class_name: "User" t.belongs_to :participated_incident, class_name: "Incident" end Table for IncidentParticipants create_table "incident_participants", :force => true do |t| t.integer "participant_id" t.integer "participated_incident_id" t.datetime "created_at", :null => false t.datetime "updated_at", :null...