Module: Arspy::Delegators::ActiveRecordExtensions

Defined in:
lib/arspy/delegators/active_record_extensions.rb

Instance Method Summary collapse

Instance Method Details

#ap(opts = {}) ⇒ Object



7
# File 'lib/arspy/delegators/active_record_extensions.rb', line 7

def ap(opts={}); Arspy::Operators.awesome_print(self, opts); end

#la(*args) ⇒ Object



4
# File 'lib/arspy/delegators/active_record_extensions.rb', line 4

def la(*args); Arspy::Operators.list_associations(self.class, *args); end

#lf(*args) ⇒ Object



5
# File 'lib/arspy/delegators/active_record_extensions.rb', line 5

def lf(*args); Arspy::Operators.list_fields(self.class, *args); end

#pr(*args) ⇒ Object



6
# File 'lib/arspy/delegators/active_record_extensions.rb', line 6

def pr(*args); Arspy::Operators.print_object(self, *args); end