On 10 February 2011 10:36, Sebastian <sebastianthegreat...@gmail.com> wrote: > On Thu, Feb 10, 2011 at 10:07 AM, Colin Law <clan...@googlemail.com> wrote: >> On 9 February 2011 21:46, Sebastian <sebastianthegreat...@gmail.com> wrote: >>>... >>> Actually that got me a bit furthere. Now the error is: >>> Couldn't find Muscle with ID=3685340 for Exercise with ID=212831413 >>> >>> which is a bit strange because that is exactly the relation I'm trying >>> to have created. So ofcourse it doesnt exists. >> >> Possibly you are trying to find the record before you have saved it. >> If you want help with that one I think you will have to show that bit >> of code that is causing the problem. > > https://github.com/madebydna/nested_form - I actually already wrote > the author about the issue since I belive it's a bug. > >> Do you know about ruby-debug that allows you to break into the code to >> inspect the data? See the Rails Guide on debugging if you have not >> used this previously. > > Yeah, and I do need to get a better setup here. but the development I > have done for the last few days has been from teh gf's laptop with > putty as a entry point to my linux server with vim/rails/etc. > > But also my reason for asking here instead of hitting the sources of > the gem in question is that I'm new to rails. So I dont think it would > do me much good here.
You did not say that you are getting the error within the gem code (or I missed it), I assumed it was in your code. I don't see where you are using the gem in the code you posted. Colin -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.