Re: [Rails] Please help: quotes in views

2013-03-25 Thread Y S
in both cases: <% c1 = "'" %> <% c2 = '"' %> Thanks! I really appreciate the discussion. On Thursday, March 21, 2013 7:29:28 PM UTC-4, tamouse wrote: > > On Thu, Mar 21, 2013 at 4:27 PM, Y S > > wrote: > > Say I have a hidden field inside a

[Rails] Please help: quotes in views

2013-03-21 Thread Y S
Say I have a hidden field inside a form which tells me which quote character some file uses. The details are irrelevant, but I need to have a string value that could have a double quote. Assume we have a variable @quote_char = '"' Now, in the view, I try all of these > >