Fixed deprecated (by ActiveSupport 4.1.0) string terminators

See https://github.com/rails/rails/blob/b894b7b90a6aced0e78ab84a45bf1c75c871bb2d/activesupport/lib/active_support/callbacks.rb#L722