我關注的邁克爾·哈特爾的Rails的教程,我在第9章,第3節 我應該得到: 但是,相反,我得到: 或者,以純文本格式: ArgumentError in UsersController#index
wrong number of arguments (2 for 1)
Extracted source (around line #4):
# Returns the Gravat
我目前正在使用一個服務對象 class ServiceObject
include Devise::Controllers::Helpers
內部的設計助手,但我得到 undefined method `helper_method' for ServiceObject:Class
不知道如何使用內部的這樣一個幫手服務對象?