lib/active_text/base.rb in active_text-0.0.7 vs lib/active_text/base.rb in active_text-0.0.8

- old
+ new

@@ -64,10 +64,11 @@ variable.value = value unless value.nil? else variable.value end else - raise NoMethodError, "Variable does not exist" + Rails.logger.debug("Could not find #{method_name} among these variables: #{@variables.inspect}") + raise NoMethodError, %Q(Method "#{method_name}" does not exist) end end # Works this way: http://rubular.com/r/jWSYvfVrjj # From http://rubular.com/r/jWSYvfVrjj