Reform でテーブルのカラムに無い項目をproperty にする方法
reform: https://github.com/apotonick/reform
class BarFom < ActiveModel
attr_accessor :foo
end
てきなことを reform でちゃんとやるために
...
property :foo, virtual: true
...
More than 5 years have passed since last update.
reform: https://github.com/apotonick/reform
class BarFom < ActiveModel
attr_accessor :foo
end
てきなことを reform でちゃんとやるために
...
property :foo, virtual: true
...
Register as a new user and use Qiita more conveniently