close
這篇文章講的很清楚:attributes= (ActiveRecord::Base) - APIdock
這樣要繞過 attr_protected 的 column 時就不用一個一個手動指定了。
全站熱搜
這篇文章講的很清楚:attributes= (ActiveRecord::Base) - APIdock
這樣要繞過 attr_protected 的 column 時就不用一個一個手動指定了。