class ActiveRecord::Base
Public Class Methods
tabulatr(relation, tabulatr_data_class = nil)
click to toggle source
# File lib/tabulatr/rails/active_record.rb, line 29 def self.tabulatr(relation, tabulatr_data_class = nil) tabulatr_data_class ||= "#{self.name}TabulatrData".constantize td = tabulatr_data_class.new(relation) end