molten-trunk/molten5_withgrid/app/models/rating.rb
# Returns a hash of attribute => value of all attributes contain vote counts.
Returns a hash of attribute => value of all attributes contain vote counts.
Returns a hash of attribute = > value of all attributes contain vote counts .
def count_attributes
    count = attributes
    EXCLUDE_FROM_COUNT.each { |exclude| count.delete(exclude.to_s) }
    count
  end
def count_attributes count = attributes EXCLUDE_FROM_COUNT . each { | exclude | count . delete ( exclude . to_s ) } count end
Returns a hash of attribute => value of all attributes contain vote counts.
Returns a hash of attribute = > value of all attributes contain vote counts .