<commit_before>module AegisExtension
	module HasRole
		def validates_role_name(options = {})
			validates_each :role_name do |record, attr, value|
#				options[:message] ||= ActiveRecord::Errors.default_error_messages[:inclusion]
#	DEPRECATION WARNING: ActiveRecord::Errors.default_error_messages has been deprecated. Please use I18n.translate('activerecord.errors.messages').. (called from default_error_messages at /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:131)
				options[:message] ||= I18n.translate('activerecord.errors.messages')[:inclusion]
				role = ::Permissions.find_role_by_name(value)
				record.errors.add attr, options[:message] if role.nil?
			end
		end
	end
end<commit_msg>Removed validates_role_name override<commit_after>#module AegisExtension
#	module HasRole
#		def validates_role_name(options = {})
#			validates_each :role_name do |record, attr, value|
##				options[:message] ||= ActiveRecord::Errors.default_error_messages[:inclusion]
##	DEPRECATION WARNING: ActiveRecord::Errors.default_error_messages has been deprecated. Please use I18n.translate('activerecord.errors.messages').. (called from default_error_messages at /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:131)
#				options[:message] ||= I18n.translate('activerecord.errors.messages')[:inclusion]
#				role = ::Permissions.find_role_by_name(value)
#				record.errors.add attr, options[:message] if role.nil?
#			end
#		end
#	end
#end
{'fraction_non_alphanumeric': 0.12650602409638553, 'fraction_numerical': 0.01606425702811245, 'mean_word_length': 6.15311004784689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6622692', 'n_tokens_mistral': 540, 'n_tokens_neox': 488, 'n_words': 83}