,我发现了以下错误:的Rails 3 Authlogic - 'acts_as_authentic' 未定义
NameError (undefined local variable or method `acts_as_authentic' for #<Class:0x1037e6310>):
app/models/user.rb:2
app/controllers/user_controller.rb:3:in `new'
我使用Rails 3.0.0,使用Ruby 1.8.7。 Authlogic是我的Gemfile如下:是
gem 'authlogic', :git => "git://github.com/binarylogic/authlogic.git"
我User.rb文件的全部内容如下:
class User < ActiveRecord::Base
acts_as_authentic
end
我得到同样的错误是否通过“轨道控制台”或通过服务器。我重新启动了服务器的次数超过了我的数量。请帮忙,我弄不明白。
它的安装。这不是问题 – Chris 2010-10-10 04:39:17