Failing at syntax
This commit is contained in:
parent
bb251e73b3
commit
031234f763
1 changed files with 5 additions and 2 deletions
|
|
@ -63,10 +63,13 @@ class Post
|
|||
(self.send accessor.to_sym).to_s}.join ';'
|
||||
end
|
||||
|
||||
def log_inspection prefix
|
||||
Rails.logger.info prefix
|
||||
def log_inspection
|
||||
Rails.logger.info self.inspect
|
||||
end
|
||||
def log_save_inspection
|
||||
Rails.logger.info "After saving, object is:"
|
||||
log_inspection
|
||||
end
|
||||
|
||||
protected
|
||||
def destroy_comments
|
||||
|
|
|
|||
Loading…
Reference in a new issue