hi all,
i want to put the html coding in my controller, because i want to
return the value like this. but i don’t how to declare here. i declared,
but it show error. i have listed my coding here. plese tell me what’s
the error in this asap.
@return_string+="
"
link_to_remote ‘EDIT’,
:update => ‘detail’,
:with =>"‘company_id=’+#{company.id}",
:url => { :action => 'edit_comp' }
+ "</td></tr>"
my Error is:
app/controllers/oddworlders_controller.rb:197: syntax error, unexpected
tSTRING_BEG, expecting kDO or ‘{’ or ‘(’
link_to_remote “EDIT”,
^
app/controllers/oddworlders_controller.rb:197: syntax error, unexpected
‘,’, expecting kEND
app/controllers/oddworlders_controller.rb:198: syntax error, unexpected
‘,’, expecting kEND
app/controllers/oddworlders_controller.rb:199: syntax error, unexpected
‘,’, expecting kEND