lib/gvem.rb in gvem-0.1.1 vs lib/gvem.rb in gvem-0.1.2
- old
+ new
@@ -10,10 +10,10 @@
class Error < StandardError; end
# Your code goes here...
extend ActiveSupport::Concern
def hola
- logger.debug "Hola Govani!"
+ logger.debug "Hola Govani! #{self.class.to_s.gsub("::", "_")}"
end
def show_errors
if self.errors.count > 0
logger.debug " =========== error #{self.model_name} ==========="