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

Version Path
ajax_scaffold_generator-3.0.0 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.0.1 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.0.2 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.0.3 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.0.4 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.1.0 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.1.1 templates/lib_content_column_patch.rb
ajax_scaffold_generator-3.1.2 templates/lib_content_column_patch.rb