我試圖使用軌道單元寶石(https://github.com/apotonick/cells),但是我在控制器和的視圖中渲染單元時遇到了一些問題。 這是我的手機(簡體): class AcquiredSkillsCell < Cell::ViewModel
def show
render
end
def has_acquired_skills?
我有一個簡單的單元例子,我想與Devise和Rails集成。但是,所有示例和問題似乎都針對單元格3.以下內容在我的應用程序中失敗(添加行號)。 line 1: class UserCell < Cell::ViewModel
line 2: include Devise::Controllers::Helpers
line 3:
line 4: def index
line 5: ren