close

這篇文章講的很清楚:attributes= (ActiveRecord::Base) - APIdock

這樣要繞過 attr_protected 的 column 時就不用一個一個手動指定了。


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 沒力小僧 的頭像
    沒力小僧

    Manic's Talk

    沒力小僧 發表在 痞客邦 留言(0) 人氣()