fixing timestamp sql wrong
adding options extract_params_from
override options[:parameters] if :extract_params_from is given
accept object, on which if an instance of activerecord, its error messages will also get recorded