wbsmith83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-May-11 02:01 UTC
Problem with nested associations
I have a department which has many courses which has many sections however when I try to access course.sections.create or create a section and save I get an error. ActiveRecord::StatementInvalid: SystemStackError: stack level too deep: SELECT * FROM courses WHERE (courses.department_id = 1) Any ideas what''s going on? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---