null+****@clear*****
null+****@clear*****
Mon Mar 26 15:47:43 JST 2012
SUZUKI Miho 2012-03-26 15:47:43 +0900 (Mon, 26 Mar 2012) New Revision: 2d30431835ac0dcf07b308a9f5a28fd2817f5221 Log: put out judgement Modified files: lib/logaling/glossary_db.rb Modified: lib/logaling/glossary_db.rb (+4 -2) =================================================================== --- lib/logaling/glossary_db.rb 2012-03-26 15:36:04 +0900 (4b6417f) +++ lib/logaling/glossary_db.rb 2012-03-26 15:47:43 +0900 (7503561) @@ -272,8 +272,10 @@ module Logaling end def delete_terms - Groonga::Schema.define do |schema| - schema.remove_table("terms") if Groonga["terms"] + if Groonga['terms'] + Groonga::Schema.define do |schema| + schema.remove_table("terms") + end end end