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.

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.

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.

Reply via email to