SHIMADA Koji
null+****@clear*****
Thu Sep 27 17:58:10 JST 2012
SHIMADA Koji 2012-09-27 17:58:10 +0900 (Thu, 27 Sep 2012) New Revision: 9313b7237003ed81a77a04b48858aa9f080a51eb https://github.com/logaling/logaling-server/commit/9313b7237003ed81a77a04b48858aa9f080a51eb Log: Fix model name Modified files: app/models/glossary_entry.rb Modified: app/models/glossary_entry.rb (+1 -1) =================================================================== --- app/models/glossary_entry.rb 2012-09-27 16:00:11 +0900 (bd5522b) +++ app/models/glossary_entry.rb 2012-09-27 17:58:10 +0900 (ac3be53) @@ -8,7 +8,7 @@ class GlossaryEntry class << self def find(id) source_term, target_term = id_to_source_term_and_target_term(id) - Term.new do |t| + GlossaryEntry.new do |t| t.source_term = source_term t.target_term = target_term end -------------- next part -------------- An HTML attachment was scrubbed... Download