Kouhei Sutou
null+****@clear*****
Mon Dec 5 17:42:13 JST 2016
Kouhei Sutou 2016-12-05 17:42:13 +0900 (Mon, 05 Dec 2016) New Revision: c324c4ab1ae8362a7a314536de10d496ccec5f89 https://github.com/ranguba/groonga-client-model/commit/c324c4ab1ae8362a7a314536de10d496ccec5f89 Message: Support updating Modified files: lib/groonga_client_model/record.rb Modified: lib/groonga_client_model/record.rb (+5 -0) =================================================================== --- lib/groonga_client_model/record.rb 2016-12-05 17:06:35 +0900 (c680ff3) +++ lib/groonga_client_model/record.rb 2016-12-05 17:42:13 +0900 (de2a573) @@ -110,6 +110,11 @@ module GroongaClientModel end end + def update(attributes) + assign_attributes(attributes) + save + end + def to_model self end -------------- next part -------------- HTML����������������������������... 다운로드