[Ruby on Rails] form_for and form helper summary

Tadashi Shigeoka ·  Mon, January 21, 2013

A summary for myself of form_for and form helper items I often need to look up in Ruby on Rails.

■ f.select

Read this when you get stuck on how to specify id.

そろそろRailsのselectメソッドについて一言いっとくか - (゚∀゚)o彡 sasata299’s blog

formのselectタグにidを設定する - 中国でRuby on Rails

select(object, method, choices, options = {}, html_options = {}) 

I plan to update this gradually with various things.

That’s all from the Gemba.