]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/language.rb
Removed user checks from to_xml_node, as these should already be
[rails.git] / app / models / language.rb
index 7bb0b6e771a7e692aad56464ec969758524cab27..3a63176f618c52f7788111f91e112a7fcb66ebd9 100644 (file)
@@ -1,5 +1,5 @@
 class Language < ActiveRecord::Base
-  set_primary_key :code
+  self.primary_key = "code"
 
   has_many :diary_entries, :foreign_key => 'language'