]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/language.rb
Go back to using to_sentence now that we are using rails 2.3 for the site.
[rails.git] / app / models / language.rb
index 81441db5c4ff0665f845b7eb147d5d02446c1d34..a33c76081c786ae594fe86cffea721da6406e812 100644 (file)
@@ -1,7 +1,6 @@
 class Language < ActiveRecord::Base
   set_primary_key :code
 
 class Language < ActiveRecord::Base
   set_primary_key :code
 
-  has_many :users, :foreign_key => 'locale'
   has_many :diary_entries, :foreign_key => 'language'
 
   def name
   has_many :diary_entries, :foreign_key => 'language'
 
   def name