lib/rgviz_rails/adapters/mysql_adapter.rb in rgviz-rails-0.37 vs lib/rgviz_rails/adapters/mysql_adapter.rb in rgviz-rails-0.38
- old
+ new
@@ -25,10 +25,10 @@
when ScalarFunctionColumn::Second
visitor << "second("
node.arguments[0].accept visitor
visitor << ")"
when ScalarFunctionColumn::Millisecond
- raise NotSupported.new "The millisecond function is not supported"
+ raise NotSupported.new("The millisecond function is not supported")
when ScalarFunctionColumn::Quarter
visitor << "quarter("
node.arguments[0].accept visitor
visitor << ")"
when ScalarFunctionColumn::DayOfWeek