module ReeDao::DatasetExtensions
def self.alias_methods(base)
def self.alias_methods(base) [:all, :update, :delete, :first, :last].each do |m| base.alias_method(:"__original_#{m}", m) end end
def self.extended(base)
def self.extended(base) alias_methods(base) base.include(InstanceMethods) end
def self.included(base)
def self.included(base) alias_methods(base) base.include(InstanceMethods) end