]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/language.rb
Convert ACL fixture to a factory, and add some tests
[rails.git] / app / models / language.rb
index 8ccb00a5da460cf813a3c4ce0f561cb612a4bcde..bb31c82ee4586ac21ca5e2f4e4ba729dc3d0f29c 100644 (file)
@@ -1,7 +1,7 @@
 class Language < ActiveRecord::Base
   self.primary_key = "code"
 
-  has_many :diary_entries, :foreign_key => 'language'
+  has_many :diary_entries, :foreign_key => "language"
 
   def self.load(file)
     Language.transaction do