method
file_field
v1.2.6 -
Show latest stable
- Class:
ActionView::Helpers::FormHelper
file_field(object_name, method, options = {})public
Works just like text_field, but returns an input tag of the "file" type instead, which won’t have a default value.