On 5 July 2014 16:13, Jay Garnett <
c340...@gmail.com> wrote:
> Colin-
>
> I'm not sure I understand your question 100%. I posted both the template
> code and the html code that was being rendered. In addition, I posted the
> Controller code. I did not, however, post the entire template code, but the
> code that was left out shouldn't be relevant. Here it is:
>
> <h1>Demo#index</h1>
> <p>Hello from index!</p>
>
> <a href="/demo/hello">Hello page 1</a><br />
> <%= link_to('Hello page 2', {:action => 'hello'}) %><br />
Sorry for not being clearer. What I meant to ask was whether you
actually copied that (Ctrl C) from your sourceand pasted it into the
post (Ctrl V), or did you re-type it? If you did not copy/paste then
there is always the possibility of your code having a typo that you
have not noticed. You may say "of course I copied/pasted" but you
might be surprised how many times people ask a question only to
eventually discover that the code they posted is not exactly the same
as the code they have used, so I have to ask.
Colin