0
我已經使用rails generate paperclip pin image
添加了回形針寶石但是,我想添加一個名爲title which would be a string
的字段。將另一個字段添加到回形針寶石
我試圖將它添加到我的pin.rb文件
class Pin < ActiveRecord::Base
attr_accessible :description, :image, :title
然後把它在我看來html.erb一頁,但遇到了一個錯誤:title did not schema
。我如何將一個字段添加到導軌的引腳表中?