<commit_before>class Coin < ApplicationRecord
    has_many :transactions
    has_many :wallets
    has_many :users, :through => :transactions

    validates :name, presence: { message: "Coin name must be valid" }
    validates :last_value, numericality: {greater_than: 0, message: "Current trading price must be greater than 0"}
    


end<commit_msg>clean up validation message for last_name<commit_after>class Coin < ApplicationRecord
    has_many :transactions
    has_many :wallets
    has_many :users, :through => :transactions

    validates :name, presence: { message: "Coin name must be valid" }
    validates :last_value, numericality: {greater_than: 0, message: "Trading price must be greater than 0"}
    
end
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.005555555555555556, 'mean_word_length': 4.340740740740741, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2050720', 'n_tokens_mistral': 218, 'n_tokens_neox': 206, 'n_words': 73}