Flowdock
method

column_methods_hash

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
column_methods_hash() public

Returns a hash of all the methods added to query each of the columns in the table with the name of the method as the key and true as the value. This makes it possible to do O(1) lookups in respond_to? to check if a given method for attribute is available.

Show source
Register or log in to add new notes.