Ya that worked. Thanks, I should have tried that.  DOH!

On Mon, Oct 5, 2009 at 1:52 PM, Colin Law <clan...@googlemail.com> wrote:

>
> 2009/10/5 Me <chabg...@gmail.com>:
> >
> > This code is not opening the link in a new window.  Any ideas?
> >
> > <%= auto_link(@post, :href_options => { :target => '_blank' }) %>
>
> I have seen suggestions that there is an error in the docs for
> auto_link and that it should be :html => {} rather than :href_options
> => {}.  I cannot vouch for the correctness or otherwise of this
> however.
>
> 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