new

new(hash = {}, pattern=nil) Class Public methods

year

year() Instance Public methods Alias for: years

next_selector

next_selector(statement, values) Instance Protected methods Called to create a dependent selector (sibling, descendant, etc). Passes the remainder of the statement that will be reduced to zero eventually, and array of substitution values. This method is called from four places, so it helps to put it here for reuse. The only logic deals with the need to detect comma separators (alternate) and apply them to the selector group of the top selector.

authenticate

authenticate(unencrypted_password) Instance Public methods Returns self if the password is correct, otherwise false. class User < ActiveRecord::Base has_secure_password validations: false end user = User.new(name: 'david', password: 'mUc3m00RsqyRe') user.save user.authenticate('notright') # => false user.authenticate('mUc3m00RsqyRe') # => user

rendering_with_conflicting_local_vars

rendering_with_conflicting_local_vars() Instance Public methods

debugger

debugger() Instance Public methods Starts a debugging session if the debugger gem has been loaded (call rails server âdebugger to do load it). breakpoint

remove_belongs_to

remove_belongs_to(table_name, ref_name, options = {}) Instance Public methods Alias for: remove_reference

transaction_isolation_levels

transaction_isolation_levels() Instance Public methods

etag_matches?

etag_matches?(etag) Instance Public methods

padding

padding(max_width) Instance Public methods