search for: exercises_routin

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

Did you mean: exercises_routines
2006 Jan 20
1
stack level too deep from has_many / belongs_to relationship
...neExercise'' 3. end 1. class Routine < ActiveRecord::Base 2. has_many :exercises, 3. :class_name=>''RoutineExercise'', 4. :order=>''position'' 5. end 1. class RoutineExercise < ActiveRecord::Base 2. set_table_name "exercises_routines" 3. set_primary_key ''join_id'' 4. 5. belongs_to :routine 6. belongs_to :exercise 7. 8. acts_as_list :scope => :routine_id 9. end From this I''m getting ''stack level too deep'' errors: #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_r...