Ruby on Rails Tuesday, December 28, 2010

Yes, I know "http://" should have been on the link - it was just a
rough example.
I resolved this... Turns out that it was the 'print.css' file from the
Blueprint CSS framework.

I've never used Blueprint before, but there ya go!

Thanks guys.

On Dec 28, 3:23 am, Colin Law <clan...@googlemail.com> wrote:
> On 27 December 2010 22:40, dubstep <solut...@gmail.com> wrote:
>
> > I am trying to put a hyperlink in my view and it is not being rendered
> > properly.
>
> > In my view, I have:
>
> > <%= link_to 'Search', 'google.com' %>
>
> > the HTML source when rendered is:
> > <a href="google.com">Search</a>
>
> > However, on the browser, it displays:
>
> > Search(google.com)
>
> > If I try and use a standard 'a href=', it does the same thing.
>
> Nothing to do with Rails then.  Does it happen on all links or just this one?
>
> Colin
>
>
>
>
>
>
>
>
>
> > Has anyone experienced this before?
>
> > Thanks.
>
> > --
> > 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 athttp://groups.google.com/group/rubyonrails-talk?hl=en.

--
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.

No comments:

Post a Comment