Hi ,

 I am trying to append the string in the helper function .

   content_tag(:span, :class => "a") do user.designation end +
   content_tag(:span, :class => "b") do user.number end

In the above, i am trying to append strings before the value
user.designation and user.number.

like
do
  "Designation : "+ user.designation end +

when i put like above i am getting error ..

How to resolve this ..

-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to