the tag helper “content_tag” can not work correnctedly on my enviroment:
page.insert_html :bottom, ‘body’, content_tag(“div”,“id”=>“tag”)
then in body,i can only get “idtag” as the text!
but if i use : content_tag(“p”,“hello world”)
I can get it worked. From the rails 1.1 api document,i can find the
example of using content_tag in the former way,what is the matter with
that? Or i have made some mistakes?