Displaying 1 result from an estimated 1 matches for "routine_id".
Did you mean:
route_id
2006 Jan 20
1
stack level too deep from has_many / belongs_to relationship
...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_record/associations.rb:877:in
`create_has_many_reflection''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations.rb:346:in
`has_ma...