Následující ukázka je z konfiguračního souboru config/environment.rb
86 # Include your app's configuration here: 87 88 # our primary keys are named <tablename>_id 89 ActiveRecord::Base.set_primary_key do 90 "#{@table_name}_id" 91 end 92 93 ActiveRecord::Base.pluralize_table_names = false 94 ActiveRecord::Base.set_inheritance_column do 95 'activerecord_stinks' 96 end