Sha256: 6e9d840a75849bd4be4943759b29b905bdf6d9dd35bae058b0a8a91099a300b3
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 Bytes
Contents
# frozen_string_literal: true module ActiveFormModel module Virtual extend ActiveSupport::Concern include Permittable include ActiveModel::Model class_methods do def fields(*attrs) send(:attr_accessor, *attrs) super(attrs) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_form_model-0.4.1 | lib/active_form_model/virtual.rb |