On 19 April 2012 22:07, Padmoja Roy <poddojaroy@gmail.com> wrote:
> ...
> Showing /home/vmuser/workspace/trial-9/app/views/values/_form.html.erb
> where line #22 raised:
>
> /home/vmuser/workspace/trial-9/app/views/values/_form.html.erb:22:
> syntax error, unexpected tIDENTIFIER, expecting ')'
> ...adio_button :lname, 'No I don't' );@output_buffer.safe_conca...
Surely you can see the error here, you have single quote character in
the middle of a string using single quote to identify it. Ruby will
see the string as 'No I don' and is then confused by the t character.
Use "No I don't" instead.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment