Class: RailsAdmin::Config::Fields::Types::Password
- Defined in:
- lib/rails_admin/config/fields/types/password.rb
Instance Attribute Summary
Attributes inherited from Base
#defined, #name, #order, #properties, #section
Attributes inherited from Base
#abstract_model, #bindings, #parent, #root
Class Method Summary collapse
Instance Method Summary collapse
- #parse_input(params) ⇒ Object
-
#value ⇒ Object
Password field’s value does not need to be read.
Methods inherited from Base
#_html_attributes, #association?, #editable, #errors, inherited, #initialize, #inverse_of, #method_name, #nested_form, #optional, #optional=, #optional?, #render, #type, #type_css_class, #virtual?
Methods included from Hideable
#hidden?, #hide, included, #show
Methods inherited from Base
#has_option?, #initialize, register_class_option, #register_deprecated_instance_option, register_deprecated_instance_option, #register_instance_option, register_instance_option, #with
Constructor Details
This class inherits a constructor from RailsAdmin::Config::Fields::Base
Class Method Details
.column_names ⇒ Object
14 15 16 |
# File 'lib/rails_admin/config/fields/types/password.rb', line 14 def self.column_names @column_names end |
Instance Method Details
#parse_input(params) ⇒ Object
18 19 20 |
# File 'lib/rails_admin/config/fields/types/password.rb', line 18 def parse_input(params) params[name] = params[name].presence end |
#value ⇒ Object
Password field’s value does not need to be read
27 28 29 |
# File 'lib/rails_admin/config/fields/types/password.rb', line 27 def value "" end |