Sha256: 90c89a450b94b2ae80259aac88656c1e1bf03b49ae4fa6bd725d2d4be63c9d4a
Contents?: true
Size: 212 Bytes
Versions: 8
Compression:
Stored size: 212 Bytes
Contents
class ActiveRecord::Base def self.get_desired_columns(wanted, cache=nil) cache ||= nil if cache.nil? h= columns_hash cache = wanted.collect { |n| h[n] } end cache end end
Version data entries
8 entries across 8 versions & 1 rubygems