1
在Mac OS X上工作,嘗試學習rails。當我輸入:「rails generate Scaffold用戶名:string email:string」時,出現以下錯誤:Rails未定義方法'組'for rails模塊
/Users/dnf1991/rails_projects/demo_app/config/application.rb:7:in `<top (required)>': undefined method `groups' for Rails:Module (NoMethodError)
from /Users/dnf1991/.rvm/gems/[email protected]/gems/railties-3.0.9/lib/rails/commands.rb:15:in `require'
from /Users/dnf1991/.rvm/gems/[email protected]/gems/railties-3.0.9/lib/rails/commands.rb:15:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
有什麼想法?
嘗試'腳手架'在小寫。 (當我使用'Scaffold'時,我得到一個不同的錯誤,也是1.9.2-p290 w/Rails 3.0.9)。 –
不幸的是,不幸的是 – user868443
當你做一個「捆綁列表」時,你會得到什麼? –