2009/10/5 Me <[email protected]>:
>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to