我试图使用轨道单元宝石(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