[logaling-commit] logaling/logaling-server [prioritize-the-search] Set glossary_name instead of name

Back to archive index

SUZUKI Miho null+****@clear*****
Fri Sep 21 23:20:47 JST 2012


SUZUKI Miho	2012-09-21 23:20:47 +0900 (Fri, 21 Sep 2012)

  New Revision: a29b58e4ebc3ea1b494f007d7c3969b05a9fa3cb
  https://github.com/logaling/logaling-server/commit/a29b58e4ebc3ea1b494f007d7c3969b05a9fa3cb

  Log:
    Set glossary_name instead of name

  Modified files:
    app/models/user_glossary.rb

  Modified: app/models/user_glossary.rb (+1 -1)
===================================================================
--- app/models/user_glossary.rb    2012-09-21 20:07:46 +0900 (ef520ea)
+++ app/models/user_glossary.rb    2012-09-21 23:20:47 +0900 (eefa1dc)
@@ -14,7 +14,7 @@ class UserGlossary < ActiveRecord::Base
   end
 
   def config_key
-    "%s.%s.%s" % [name, source_language, target_language]
+    "%s.%s.%s" % [glossary_name, source_language, target_language]
   end
 
   def add!(term)
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Back to archive index