Error: insufficient parenthases

This commit is contained in:
Raphael 2010-08-16 14:02:26 -07:00
parent 1f40ea23b6
commit deeb4832c1

View file

@ -174,7 +174,7 @@ class User
Rails.logger.debug("Saving object: #{object}") Rails.logger.debug("Saving object: #{object}")
object.save object.save
object.socket_to_uid( id) if object.respond_to? :socket_to_uid object.socket_to_uid( id) if object.respond_to? :socket_to_uid
object.person.send_comment object if (object.is_a? Comment && self.owns?( object)) object.person.send_comment object if (object.is_a?(Comment) && self.owns?( object))
end end
end end