SHIMADA Koji
null+****@clear*****
Thu Sep 20 10:33:45 JST 2012
SHIMADA Koji 2012-09-20 10:33:45 +0900 (Thu, 20 Sep 2012) New Revision: 2c31c6a0dd8ab99dc562ffb4de95527db9425c2c https://github.com/logaling/logaling-server/commit/2c31c6a0dd8ab99dc562ffb4de95527db9425c2c Merged c5d082c: Merge pull request #13 from logaling/enable-creating-user-glossary Log: opps Modified files: app/models/user_glossary.rb Modified: app/models/user_glossary.rb (+1 -1) =================================================================== --- app/models/user_glossary.rb 2012-09-20 10:32:56 +0900 (b2650a1) +++ app/models/user_glossary.rb 2012-09-20 10:33:45 +0900 (820de5a) @@ -28,7 +28,7 @@ class UserGlossary < ActiveRecord::Base end def update(term, new_term) - raise Logaling::TermError unless term.valid? + raise Logaling::TermError unless new_term.valid? glossary = find_glossary raise Logaling::GlossaryNotFound unless glossary -------------- next part -------------- An HTML attachment was scrubbed... Download