update Gemfile with secure source.
remove to_query monkey patch.
add successful? method.