On 23 June 2012 00:02, cyber c. <li...@ruby-forum.com> wrote: > I can specify the controller using > :url => {:action => 'XYZ'} > But since I don't have ( nor need) a model file for the form , so what > should i write here "?" > <%= form_for (?) do |f| %>
If you have not got an object to populate the form then you can use form_tag 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.