Removed debug info.

This commit is contained in:
Martin Edenhofer 2012-12-30 12:48:26 +01:00
parent 267d153f2d
commit 2c505a5601

View file

@ -55,10 +55,8 @@ class ApplicationModel < ActiveRecord::Base
if data[:name]
record = self.where( :name => data[:name] ).first
if record
puts 'update ' + data[:name].to_s
record.update_attributes( :data => data[:data] )
else
puts 'create ' + data[:name].to_s
record = self.new( data )
record.save
end