0
的Rails:3.2.6 Twitter的引導護欄(2.2.3,2.1.0)引導:主題錯誤 - 不產生正確的意見
我做了以下內容:
rails generate bootstrap:install static -s
我然後生成腳手架認證如下:
rails generate scaffold certification id:integer user_id:integer name:string description:string location:string status:string --skip-stylesheets -s
然後我試圖生成Twitter的引導意見如下:
rails generate bootstrap:themed certifications -f -s
這給了我以下錯誤:
undefined method `fields' for #<Class:0x007fe5e7282060>
,並沒有更改的認證意見作出。有任何想法嗎?
你爲什麼要創建一個id?該ID通常是生成的。 '-f'和'-s'命令是做什麼的? – 2013-02-21 02:32:25