Skip to content
On this page

Password ​

The Password field renders a input[type="password"] element for that field. By default, it's visible only on the Edit and New views.

ruby
field :password, as: :password

Related: