SHIMADA Koji
null+****@clear*****
Wed Sep 19 17:21:42 JST 2012
SHIMADA Koji 2012-09-19 17:21:42 +0900 (Wed, 19 Sep 2012) New Revision: 664ab4e9f9bed8a3ee2a42ff8e9d785e0fb38ebc https://github.com/logaling/logaling-server/commit/664ab4e9f9bed8a3ee2a42ff8e9d785e0fb38ebc Merged c5d082c: Merge pull request #13 from logaling/enable-creating-user-glossary Log: Move Term into LogalingServer module because the term-ansicolor gem for which cucumber depends use 'Term':-< Modified files: app/models/term.rb Modified: app/models/term.rb (+9 -6) =================================================================== --- app/models/term.rb 2012-09-19 17:11:32 +0900 (8e73b1b) +++ app/models/term.rb 2012-09-19 17:21:42 +0900 (3f2eea0) @@ -1,10 +1,13 @@ #coding: utf-8 -class Term - include ActiveAttr::Model +module LogalingServer + class Term + include ActiveAttr::Model - attribute :source_term, type: String, default: '' - attribute :target_term, type: String, default: '' - attribute :note, type: String, default: '' + attribute :source_term, type: String, default: '' + attribute :target_term, type: String, default: '' + attribute :note, type: String, default: '' - validates_presence_of :source_term, :target_term + validates_presence_of :source_term, :target_term + end end + -------------- next part -------------- An HTML attachment was scrubbed... Télécharger