<commit_before># Corylus - ERP software
# Copyright (c) 2005-2014 <NAME>

class ProductSupplier < ActiveRecord::Base
  belongs_to	:product
  belongs_to	:supplier

  validates_numericality_of :price, :greather_than => 0,
	:message => "isn't a positive number"
end
<commit_msg>Models: Fix Rails 3.2 madness<commit_after># Corylus - ERP software
# Copyright (c) 2005-2014 <NAME>

class ProductSupplier < ActiveRecord::Base
  belongs_to	:product
  belongs_to	:supplier
  self.primary_key = :id

  validates_numericality_of :price, :greather_than => 0,
	:message => "isn't a positive number"
end

{'fraction_non_alphanumeric': 0.10321489001692047, 'fraction_numerical': 0.0338409475465313, 'mean_word_length': 5.297872340425532, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4126546', 'n_tokens_mistral': 229, 'n_tokens_neox': 207, 'n_words': 56}