Sha256: 06df0491b02580e37ecbee080d0daa86483e85f4f960db96de19124511c7ca2e
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
module ListableCollections module Extensions module ActiveRecord module Base extend ActiveSupport::Concern module ClassMethods def listify(*args) options = args.extract_options! builder = Builder.new(self) args.each do |attribute| builder.define attribute, options end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
listable_collections-5.1.1 | lib/listable_collections/extensions/active_record/base.rb |