Method: Devise::Models::Authenticatable#strip_whitespace
- Defined in:
- lib/devise/models/authenticatable.rb
#strip_whitespace ⇒ Object (protected)
202 203 204 |
# File 'lib/devise/models/authenticatable.rb', line 202 def strip_whitespace self.class.strip_whitespace_keys.each { |k| apply_to_attribute_or_variable(k, :strip) } end |