module Tako::ActiveRecordExt::SingularAssociation

Public Class Methods

included(mod) click to toggle source
# File lib/tako/active_record_ext/singular_association.rb, line 4
def self.included(mod)
  mod.extend(ShardedMethods)
  mod.sharded_methods :reader,
                      :writer,
                      :create,
                      :create!,
                      :build
end