Re: [Rails] nested_form
On Thu, Feb 10, 2011 at 10:07 AM, Colin Law <clanlaw@googlemail.com> wrote:
> On 9 February 2011 21:46, Sebastian <sebastianthegreatful@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 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home