On 19 August 2012 22:11, fuzzy <[email protected]> wrote:
> Thanks Bertly ... that is funny ... but even coders must have
> explanations somewhere in there vocabulary ... even before you begin
> to code.
>
> My apologies for not being clearer on this issue ... there is no
> error ... the links do not show up on my page or if they do, I have
> been experimenting a lot, they do not respond to the on click action.
> In either case, I do not get an error, my page renders as before and
> it is as if the "link_to_add_field" is not there.
>
> I am beginning to suspect that the "link_to_add_fields" definition
> that I used, was written for a specific nested form setup, and since
> my nested form setup is totally different, and my lack of
> sophistication in being able to substitue the correct form builder and
> associations in the definition, results in it not recognizing my
> attempt to insert fields.
>
> I am beginning to think that I need to learn more about programming
> before I attempt this next step.

If you want to learn about rails and programming I suggest starting
with a primer on Ruby programming (sorry I can't recommend a
particular one, but a bit of googling should find one) then work right
through the tutorial at railstutorial.org, which is free to use online
and will give you a good grounding in rails.  the other thing you will
need to learn about is html, and if you want to do anything serious
then also javascript.

In terms of your problem above the first thing to do is to look at the
generated html (View > Page Source or similar in your browser) to see
whether the links are there and look ok, but this requires knowledge
of html.  Also copy and paste the complete html output into the w3c
html valildator to check it is valid.  Often the reason for things not
appearing is that the html is invalid in some way.

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to