Sha256: 5e9d4a96cdb8cd43160d895cf76bef9c3cba3e708859f3210badcecd29dbe7a3
Contents?: true
Size: 325 Bytes
Versions: 6
Compression:
Stored size: 325 Bytes
Contents
module ActiveHouse module Fromable extend ActiveSupport::Concern included do private def build_from_query_part "FROM #{table_name}" end end def initialize(*) @table_name = model_class._table_name super end def table_name @table_name end end end
Version data entries
6 entries across 6 versions & 1 rubygems