Kouhei Sutou
null+****@clear*****
Fri Dec 9 17:34:33 JST 2016
Kouhei Sutou 2016-12-09 17:34:33 +0900 (Fri, 09 Dec 2016) New Revision: 3272dfc573690192618a5403d540b7883935ff96 https://github.com/ranguba/groonga-client-model/commit/3272dfc573690192618a5403d540b7883935ff96 Message: Require railtie automatically Modified files: lib/groonga-client-model.rb test/apps/rails5/config/application.rb Modified: lib/groonga-client-model.rb (+4 -0) =================================================================== --- lib/groonga-client-model.rb 2016-12-09 15:27:39 +0900 (f1ea792) +++ lib/groonga-client-model.rb 2016-12-09 17:34:33 +0900 (6560a5d) @@ -31,3 +31,7 @@ module GroongaClientModel end ActiveSupport.run_load_hooks(:groonga_client_model, GroongaClientModel) + +if defined?(Rails) + require "groonga_client_model/railtie" +end Modified: test/apps/rails5/config/application.rb (+0 -1) =================================================================== --- test/apps/rails5/config/application.rb 2016-12-09 15:27:39 +0900 (90d7809) +++ test/apps/rails5/config/application.rb 2016-12-09 17:34:33 +0900 (e480430) @@ -5,7 +5,6 @@ require "rails" require "active_model/railtie" require "active_job/railtie" # require "active_record/railtie" -require "groonga_client_model/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" -------------- next part -------------- HTML����������������������������... 下载