]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/language.rb
Sort out storage and use of user preferred languages.
[rails.git] / app / models / language.rb
index 81441db5c4ff0665f845b7eb147d5d02446c1d34..a33c76081c786ae594fe86cffea721da6406e812 100644 (file)
@@ -1,7 +1,6 @@
 class Language < ActiveRecord::Base
   set_primary_key :code
 
-  has_many :users, :foreign_key => 'locale'
   has_many :diary_entries, :foreign_key => 'language'
 
   def name