<commit_before>class Collection < ActiveRecord::Base
  belongs_to :user
  has_many :photo_in_collections, :dependent => :destroy
  has_many :photos, :through => :photo_in_collections
  
  attr_accessible :title, :public
  
  validates :title, :public, :presence => true
end<commit_msg>Removed validation of public field in collections<commit_after>class Collection < ActiveRecord::Base
  belongs_to :user
  has_many :photo_in_collections, :dependent => :destroy
  has_many :photos, :through => :photo_in_collections
  
  attr_accessible :title, :public
  
  validates :title, :presence => true
end
{'fraction_non_alphanumeric': 0.09380234505862646, 'fraction_numerical': 0.0, 'mean_word_length': 5.795454545454546, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6684241', 'n_tokens_mistral': 187, 'n_tokens_neox': 184, 'n_words': 48}