method

define_read_methods

define_read_methods()
private

Called on first read access to any given column and generates reader methods for all columns in the columns_hash if ActiveRecord::Base.generate_read_methods is set to true.