Ruby on Rails 3 and how to make web service

前端 未结 2 1455
野的像风
野的像风 2020-12-20 16:27

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 actionweb

相关标签:
2条回答
  • 2020-12-20 16:54

    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 讨论(0)
  • 2020-12-20 16:59

    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?

    0 讨论(0)
提交回复
热议问题