Sha256: 26f96e1a46d5aa77760cfca2efcfec721f6b69bc571015161a15f34055fa9a19
Contents?: true
Size: 505 Bytes
Versions: 10
Compression:
Stored size: 505 Bytes
Contents
ActiveRecord::Result.class_eval do def t(*attrs, **options) to_a.t(*attrs, **options) end def vd(*attrs, **options) to_a.vd(*attrs, **options) end def v to_a.v end def a to_a end def write_csv(filename, *fields, **options) to_a.write_csv(filename, *fields, **options) end def write_excel(filename, *fields, **options) to_a.write_excel(filename, *fields, **options) end def dump(filename, batch_size=500) to_a.dump(filename, batch_size) end end
Version data entries
10 entries across 10 versions & 1 rubygems