<commit_before>class BirthData < ActiveRecord::Base
#
#	Be advised the "data" pluralized is "data" which
#	means that this table name is "birth_data".
#	This inflection "problem" could be an issue elsehwere
#	if a difference between the singular and plural in expected.
#
#	This will be true in named routes.
#

	# purely for passing to Change from the Update
	attr_accessor :birth_data_update_id


#	gotta use after_* so that have own id to pass

#	still need to know which field is the unique one.

	#	Fortunately, in rails 3, after_create seems to be called before after_save
	#	I don't think that this was true in rails 2.
	after_create :create_new_data_record_change
	after_save   :create_data_record_changes<commit_msg>Only create BirthDataChange on update.<commit_after>class BirthData < ActiveRecord::Base
#
#	Be advised the "data" pluralized is "data" which
#	means that this table name is "birth_data".
#	This inflection "problem" could be an issue elsehwere
#	if a difference between the singular and plural in expected.
#
#	This will be true in named routes.
#

	# purely for passing to Change from the Update
	attr_accessor :birth_data_update_id


#	gotta use after_* so that have own id to pass

#	still need to know which field is the unique one.

	#	Fortunately, in rails 3, after_create seems to be called before after_save
	#	I don't think that this was true in rails 2.
	after_create :create_new_data_record_change
#	after_save or after_update?
#	after_save   :create_data_record_changes
	after_update :create_data_record_changes
{'fraction_non_alphanumeric': 0.053617571059431525, 'fraction_numerical': 0.002583979328165375, 'mean_word_length': 4.715867158671586, 'pattern_counts': {'":': 0, '<': 5, '<?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': '627671', 'n_tokens_mistral': 492, 'n_tokens_neox': 461, 'n_words': 206}