开发者

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开发者_JS百科 this think to work?


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?


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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜