I am trying to get my relationships worked out but I am having trouble using the associations.
So I have three models Workout, Exercise and
Workout
Exercise
Your code looks OK. Bug maybe has_and_belongs_to_many is a better choice. See Choosing Between has_many :through and has_and_belongs_to_many
has_and_belongs_to_many