exist?(name, options = nil) Instance Public methods Returns true if the cache contains an entry for the given key. Options are passed to the underlying cache implementation.
password=(unencrypted_password) Instance Public methods Encrypts the password into the password_digest attribute, only if the new password is not blank. class User < ActiveRecord::Base has_secure_password validations: false end user = User.new user.password = nil user.password_digest # => nil user.password = 'mUc3m00RsqyRe' user.password_digest # => "$2a$10$4LEA7r4YmNHtvlAvHhsYAeZmk/xeUVtMTYqwIvYY76EW5GUqDiP4."
extract!(*keys) Instance Public methods Removes and returns the key/value pairs matching the given keys. { a: 1, b: 2, c: 3, d: 4 }.extract!(:a, :b) # => {:a=>1, :b=>2} { a: 1, b: 2 }.extract!(:a, :x) # => {:a=>1}
formatted_html_erb() Instance Public methods
sandbox?() Instance Public methods
bind(value) Instance Public methods
down() Class Public methods
find_with_ids(*ids) Instance Protected methods
layout_test_with_different_layout_and_symbol_action() Instance Public methods
cattr_writer(*syms) Instance Public methods Alias for: mattr_writer
Page 71 of 2275