我有:
class Base1 {
public:
virtual void func() = 0;
};
class Base2 {
public:
virtual void func() = 0;
};
class Derived : public Base1, public Base2 {
public:
void func() override { }
};
int main() {
Derived d;
d.func();
return 0;
}
当我提交时,记录有关未经许可的参数的信号:<%= form_with url: retrieve_videos_path, local: true do |form| %>
# some form stuff
<%= form.submit %>
<% end %>
我想,在模型的表单中,这些参数是'require'方法允许的,如:
Unpermitted parameters: :utf8, :authenticity_token, :commit
但如何为网址制作相同内容?