On Mon, May 18, 2015 at 8:54 PM, jmcguckin <mcguc...@gmail.com> wrote:
> <meta name="description" contents=<%= @desc %> /> ... > The problem is that the generated text has a no quotes: > > <meta name="description" contents=FOO BAR/> You can surround the <% whatever %> with quotes, just like the "description". IOW: <meta name="description" contents="<%= @desc %>" /> Don't overthink it. :-) So long as you're doing things the way Rails intends, it's all easy and obvious. The big fight comes when you disagree with The Rails Way.... -Dave -- Dave Aronson, consulting software developer of Codosaur.us, PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQijfROGGO%3Dk35mLsFw08xKois67-ju%3D-2r8p_UczmcEbgA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.