Sha256: 8f855b5cbe6d990639285a30b6386cc307e15175e92c41d5101ba2bf43e54cb0
Contents?: true
Size: 336 Bytes
Versions: 29
Compression:
Stored size: 336 Bytes
Contents
# adds arel_table support for belongs_to relationships in ActiveRecord models module CassandraObject module Arel extend ActiveSupport::Concern class_methods do def arel_table @arel_table ||= ::Arel::Table.new(column_family, arel_engine) end def arel_engine self end end end end
Version data entries
29 entries across 29 versions & 1 rubygems