Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby on Rails 3 and how to make web service

I tried to make this to work, but I got "uninitialized constant ActionWebService" error when I use standard (old) actionwebservice, but if I install datanoise's actionwebservice gem I can't settup project properly to use them (in Gemfile with gem Bundler).

There is a alternative? Someone make this think to work?

like image 430
dormitkon Avatar asked Oct 22 '10 02:10

dormitkon


2 Answers

As I understand datanoise's gem is not rails 3 compatible. On the github Page it says that it's version 2.3.2. However here is a rails 3 fork

Why can't you use ActiveResource? Do you have some sort of specific requirement not to use REST?

like image 173
konung Avatar answered Oct 05 '22 02:10

konung


Quite a few people on github have forked the datanoise 2.3.2 actionwebservice, and have Rails3-compatible versions. Not sure which one works best, but I know this one does:

gem 'actionwebservice', :git => "git://github.com/dnordberg/actionwebservice.git"

like image 41
user589473 Avatar answered Oct 05 '22 02:10

user589473