Removed debug info.
This commit is contained in:
parent
f26a1a40b8
commit
4a845aae29
1 changed files with 5 additions and 5 deletions
|
@ -31,10 +31,10 @@ class HistoryObserver < ActiveRecord::Observer
|
||||||
end
|
end
|
||||||
|
|
||||||
puts 'HISTORY OBSERVER UPDATE!!!!' + record.class.name
|
puts 'HISTORY OBSERVER UPDATE!!!!' + record.class.name
|
||||||
puts 'current'
|
# puts 'current'
|
||||||
puts current.inspect
|
# puts current.inspect
|
||||||
puts 'record'
|
# puts 'record'
|
||||||
puts record.inspect
|
# puts record.inspect
|
||||||
|
|
||||||
diff = differences_from?(current, record)
|
diff = differences_from?(current, record)
|
||||||
puts 'DIFF'
|
puts 'DIFF'
|
||||||
|
@ -117,7 +117,7 @@ class HistoryObserver < ActiveRecord::Observer
|
||||||
if attribute_name.scan(/^(.*)_id$/).first
|
if attribute_name.scan(/^(.*)_id$/).first
|
||||||
attribute_name = attribute_name.scan(/^(.*)_id$/).first.first
|
attribute_name = attribute_name.scan(/^(.*)_id$/).first.first
|
||||||
end
|
end
|
||||||
puts 'LLLLLLLLLLLLLLLLLLLLLLLL' + attribute_name.to_s
|
#puts 'LLLLLLLLLLLLLLLLLLLLLLLL' + attribute_name.to_s
|
||||||
# puts '9999999'
|
# puts '9999999'
|
||||||
# puts current.id
|
# puts current.id
|
||||||
History.history_create(
|
History.history_create(
|
||||||
|
|
Loading…
Reference in a new issue