Is parts model only used to link Movie to Actor?
For example, a movie may have many parts, as in has many scenes. Also an actor can have many parts in a movie. Does this have anything to do with the model, or is it strictly to link Movie to Actor?
Furthermore, can we use any name to link Movie to Actor. For example, instead of part model could we name it connect model? Can we instead do something like in the Example below...
#model Actor class Actor < ActiveRecord::Base has_many :connects has_many :movies, through: :connects end #model Movie class Movie < ActiveRecord::Base has_many :connects has_many :actors, through: :connects end #model Connect class Connect < ActiveRecord::Base belongs_to :movie #singular belongs_to :actor #singular end