Top "Form-for" questions

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

rails simple_form - hidden field - create?

How can you have a hidden field with simple form? The following code: = simple_form_for @movie do |f| = f.…

ruby-on-rails ruby-on-rails-3 form-for hidden-field simple-form
form_for with nested resources

I have a two-part question about form_for and nested resources. Let's say I'm writing a blog engine and I …

ruby-on-rails form-for nested-resources
Rails: Custom text for rails form_for label

I want to display a label in form_for: <div class="field"> <%= f.label :name %><…

ruby-on-rails ruby ruby-on-rails-3.2 form-for
Rails not editable text field

I have a form_for written in the following manner: <div class="field"> <%= location.label :city %> &…

ruby-on-rails textfield form-for
Change html form id generated by form_for rails 3.1

I have this form_for: <%= form_for [post, Comment.new,], :remote => true do |f| %> <%= f.text_…

ruby-on-rails ruby ruby-on-rails-3 form-for
Rails Bootstrap how to format form_for (width grid collapses)

I'm trying to make a form with bootstrap-sass. I need to find the optimal configuration of bootstrap classes to make …

css ruby-on-rails twitter-bootstrap form-for bootstrap-sass
RoR differences between :url, :action, :method in form_for

There might be answers in documentation, but i don't seem to find good answers. So among the three :url, :action, :…

ruby-on-rails ruby-on-rails-3 form-for
Form_for with :multipart => true spits out

I am trying to add an Avatar Upload field to my Profile Page, but as soon as I add the :…

ruby-on-rails form-for
Using form_for multi-select fields with acts_as_taggable_on

I can't figure out the right code for using a predetermined set of options for a multi-select field. I want …

ruby-on-rails forms form-for acts-as-taggable-on
Rails 4: fields_for in fields_for

I am learning RoR and i am trying to find how to set a fields_for in another one with …

ruby-on-rails ruby-on-rails-4 form-for fields-for nested-form-for