mephisto_xmlrpc plugin for mephisto 0.8.2

written by silvio on January 7th, 2010 @ 01:36 PM

Installation

./script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc

Follow README for further installation instructions.

Source

Related

Related

UPDATE:

Follow these updated steps, the included readme is very old and instructions doesn’t work!

1: Edit file app/controllers/application/error.rb

Locate these lines

rescue_from ActiveRecord::RecordNotFound, :with => :render_admin_not_found rescue_from ActionController::UnknownController, :with => :render_admin_not_found rescue_from ActionController::UnknownAction, :with => :render_admin_not_found

Change these lines to

rescue_from ::ActiveRecord::RecordNotFound, :with => :render_admin_not_found rescue_from ::ActionController::UnknownController, :with => :render_admin_not_found rescue_from ::ActionController::UnknownAction, :with => :render_admin_not_found

Save the file.

2. Add github repo

sudo gem sources -a http://gems.github.com

3. Get the actionwebservice gem

sudo gem install datanoise-actionwebservice -v='2.2.2'

4. Add the following line to config/environement.rb

config.gem 'datanoise-actionwebservice', :version => '2.2.2', :lib => 'actionwebservice', :source => 'http://gems.github.com'

5. Restart your server

Now you have working xmlrpc service at http://YOURSITE.com/xmlrpc

Enjoy!

Post a comment

Options:

Size

Colors