Tag Archives: form

Ruby on Rails form_tag

Consider the api definition for form_tag: This form_tag: Produces this: which is probably not what you want. Try this instead: and you’ll get this: You have to establish when your first hash of parameters ends, otherwise form_tag will assume your :action and your :multipart option are a single hash, when :multipart really needs to go [...]