Thanks for the reply San Ji :)
ActiveModel is database agnostic, however, the `attribute :foo,
:my_custom_type, array: true` syntax [from the new activerecord::attributes
api](
https://api.rubyonrails.org/classes/ActiveRecord/Attributes/ClassMethods.html)
is only available to postgres, [as it's de
Hi,
I'm really enjoying using the new ActiveModel::Attributes API for making
form objects (replacing Virtus).
At the moment, if you want to do :
class Foo
include ActiveModel::Model
include ActiveModel::Attributes
attribute :bars, :string, array: true
you _must_ be using the `postgresql
2 matches
Mail list logo