Top "Form-for" questions

Form helper to bind a form to a model object in Rails.

Rails: form_for and radio buttons

I have the following in my form_for <div class="multiple_students"> <%= f.label :multiple_classes, "Do …

ruby-on-rails form-for
problems with form_tag for controller action with members-get route

I'm making a form_tag panel that contains information (checkboxes) specific to a controller action. This action is set up …

ruby-on-rails routes form-for link-to
Nested resources in namespace form_for

Problem The form_for helper incorrectly determines the path to my nested resource inside of a namespace. The models in …

ruby-on-rails namespaces ruby-on-rails-3 form-for
Rails: Hidden field in form_for is not sending parameters to controller

I have a form_for I'm making in my view helper that is going to let one user promote another …

ruby-on-rails hidden-field form-for
How to set up form for a hash in Rails?

I have some data associated with a model that is in a hash. The hash is generated in the controller: @…

ruby-on-rails ruby-on-rails-3 hash parameters form-for
Ruby on rails: singular resource and form_for

I want user to work with only one order connected to user's session. So I set singular resource for order …

ruby-on-rails resources router form-for singular
Rails form_tag form writing - with non-active record model

I'm somewhat of a Rails newbie. I'm writing a couchrest-rails app, so am not using activerecord for this model. I …

ruby-on-rails actionview form-for actionviewhelper
how to set default value of form_for select

I would like to know how to set default value on form_for select. My code goes like this: <%= …

ruby-on-rails-3 select form-for
form_for with json return

I currently have a form like this: <% form_for @stem, :html => {:multipart => true} do |f| %> <%= …

ruby-on-rails json form-for
Custom name for params hash from Rails form_for

Ordinarily, using form_for(@foo) means that on the back end of the form's action, you'll have the form data …

ruby-on-rails form-for