使用acts_as_list,我试图将范围设置为where
列。
acts_as_list scope: :where
where
是模型中字符串列的名称。
但是当我收到这个错误时:
#<ImageDesign:0x007ffaf8aa6400> 的未定义方法 `where_id' 你是说吗?在哪里
使用acts_as_list,我试图将范围设置为where
列。
acts_as_list scope: :where
where
是模型中字符串列的名称。
但是当我收到这个错误时:
#<ImageDesign:0x007ffaf8aa6400> 的未定义方法 `where_id' 你是说吗?在哪里