【问题标题】:devise error on rails 3在rails 3上设计错误
【发布时间】:2012-06-03 14:20:08
【问题描述】:

我收到以下错误消息:

undefined method `user_registration_path' for #<#<Class:0x10f227cd8>:0x10f5f6d50>

提取的源代码(第 3 行附近):

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> 

我检查了所有内容,没有发现错误,我刚刚创建了项目并安装了插件。

【问题讨论】:

标签: ruby-on-rails-3 devise ruby-on-rails-plugins


【解决方案1】:

我在新版本的 ror 中使用了旧版本的设计插件。 =x

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-07-16
    • 2011-08-15
    • 1970-01-01
    • 1970-01-01
    • 2013-11-22
    • 2012-02-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多