[logaling-commit] logaling/logaling-server [enable-creating-user-glossary] Remove 'self'

Back to archive index

SHIMADA Koji null+****@clear*****
Tue Sep 11 14:57:29 JST 2012


SHIMADA Koji	2012-09-11 14:57:29 +0900 (Tue, 11 Sep 2012)

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

  Log:
    Remove 'self'

  Modified files:
    app/models/user_glossary.rb

  Modified: app/models/user_glossary.rb (+1 -1)
===================================================================
--- app/models/user_glossary.rb    2012-09-10 15:37:17 +0900 (c431634)
+++ app/models/user_glossary.rb    2012-09-11 14:57:29 +0900 (53db711)
@@ -14,6 +14,6 @@ class UserGlossary < ActiveRecord::Base
   end
 
   def glossary_name
-    "%05d-%s"%[self.user_id, name]
+    "%05d-%s"%[user_id, name]
   end
 end
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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