Fixed problem with ActiveSupport