Wednesday, December 28, 2011

[Rails] form_tag issue

hi all,
 i am getting the following warning
 "warning: don't put space before argument parentheses " when i am using the 'form_tag' in rhtml

<% form_tag ({:name=>'myform' ,:action => 'add_suggestion',:page => @session_page},:multipart=>true) %>

the 'form_tag' is ended by '<% end %>'

i am using Ruby: 1.8.7,rails:2.3.11,gem:1.6.2

can anyone know why this warning is coming ?

--
Thanks and Regards
 Sachin S. Kewale

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate