Ruby on rails 3 设计轨道上的误差3
我收到以下错误消息:Ruby on rails 3 设计轨道上的误差3,ruby-on-rails-3,devise,ruby-on-rails-plugins,Ruby On Rails 3,Devise,Ruby On Rails Plugins,我收到以下错误消息: undefined method `user_registration_path' for #<#<Class:0x10f227cd8>:0x10f5f6d50> 未定义的方法“用户注册路径”# 提取的源(第3行附近): 1:注册 2: 3:注册路径(资源名称))do | f |%> 4: 5: 6: 我检查了所有内容,没有发现错误,我刚刚创建了项目并安装了插件。我在新版ror中使用了旧版本的Desive插件=看 1: <h2&g
undefined method `user_registration_path' for #<#<Class:0x10f227cd8>:0x10f5f6d50>
未定义的方法“用户注册路径”#
提取的源(第3行附近):
1:注册
2:
3:注册路径(资源名称))do | f |%>
4:
5:
6:
我检查了所有内容,没有发现错误,我刚刚创建了项目并安装了插件。我在新版ror中使用了旧版本的Desive插件=看
1: <h2>Sign up</h2>
2:
3: <%= form_for(resource_name, resource, :url => registration_path(resource_name)) do |f| %>
4: <%= f.error_messages %>
5: <p><%= f.label :email %></p>
6: <p><%= f.text_field :email %></p>