First stage of i18n. Some migrations and extra plugins.
[rails.git] / app / models / language.rb
1 class Language < ActiveRecord::Base
2   set_primary_key :language_code
3   
4   has_many :users, :foreign_key => 'locale'
5   has_many :diary_entries, :foreign_key => 'language'
6 end