Green Acorn

Category Archives: Ruby

Creating a Ruby SOAP Client

In a previous post, I created this web service in PHP (view the post here). In order to create a client in Ruby, I’ll need to install a Ruby Gem called Savon. Savon is a SOAP client library for Ruby and will allow me call the PHP based web service via Ruby code. Read more

Author:
Posted in: Ruby, Web Services

Useful Ruby on Rails Commands

1. Create a new Ruby On Rails application using the MySQL database adapter.

rails new ProjectName -d mysql

2. Dump current database schema into db/schema.rb. Migration tasks calls the below command after each run.

rake db:schema:dump

Read more