Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Fabián Ríos's Profile

GitHub User: fabianrios

Site: http://www.fabianrios.co

Comments by Fabián Ríos

Avatar

in savon 2 that will be
client = Savon.client(wsdl: "http://www.webservicex.net/uszip.asmx?WSDL", basic_auth: ["user", "secret"])

Avatar

If someone like me is wondering about how the example lines are in savon 2, they are like this.

client = Savon.client(wsdl: "http://www.webservicex.net/uszip.asmx?WSDL")
client.operations
client.call(:get_info_by_zip, message: { "USZip" => "90210" })

Avatar

I have a crash in mac that I resolve doing this in my Gemfile:
gem 'rmagick', :require => 'RMagick'

Avatar

i was getting this error

could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

and i solve it using host: localhost in the database.yml