similar to: RESTful Web Services

Displaying 20 results from an estimated 30000 matches similar to: "RESTful Web Services"

2006 Apr 07
2
Functional testing Pretty Urls
Anyone know how to how to test pretty urls (set through routes.rb)? I want to don''t use get :action, because the routing changes how a certain action is requested. How does one go about testing this? Thanks, Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 04
4
Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode
A lot has been made recently about the need to freeze your gems for production deployment on a shared server so your application can depend on it''s own gem version instead of being subjected to whatever gem is installed on the server, but does this rule of thumb come with an exception? Architecture dependent gems such as RMagick, Ferret and Unicode have dependencies that cannot be
2006 Jun 05
3
Best practices with Web Services
Hello-- I''m investigating the API facet of my site and wanted to ask a couple questions: 1. The Agile book describes adding an API using the web_services generator which adds stuff to app/api. In Rails 1.1, Jamis added some wants.xml stuff to the controller code which also allows API generation. Which is better to use now? Do they mutually exclude one another? 2. In some cases, I
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2010 May 03
2
Calling a RESTful Web service from Dialplan????
Dear All, Last Week i tried and goggling more on how to call RESTful webservice from Dialplan? i found *CURL* function but while i tried to use it ,it 's not supported HTTPS request and we cannot set headers while send a request. also without HTTPS . i get result it will return a string means whole xml,json request is represented in string format, how can i parse that request? my
2012 Sep 18
4
"best practices" for Rails serving RESTful JSON services for use by AngularJS, Ember.js, etc.
I''ve been writing a gem to implement and extend common controller functionality so that Rails can be used with Javascript frameworks like AngularJS (which we are using), Ember.js, etc. in such a way that the user doesn''t have to tweak a a bunch of rails g controller boilerplate code to provide services for use in these frameworks that in turn would require various changes to
2014 Apr 16
0
Configure restful web service in rails
Hi, I am trying to create a Rest web service in my rails application. I need to configure urls for it as below. localhost:3000/book/book_id/new/param1/param2/param3/param4/... localhost:3000/book/book_id/next localhost:3000/book/book_id/delete I dont have a view pages for it since it returns in json format.Please help.So what is the best way to configure these urls via
2013 Oct 08
6
Consuming a web service created with Rails, ETL vs Rest?
Hello, I need to consume a web service of an App called RedMine created with Rails, in order to have a sort of "separate" interface (not the same as the app) for one of the departments (that interact with the app) to interact with it and generate some different reports based on the same data. I don''t know much about either (ETL and Rest), all I know is that ETL seems to
2006 Mar 27
0
acts_as_taggable not loading in dev environment?
It seems in my development environment I keep throwing: undefined local variable or method `acts_as_taggable'' for Item:Clas Indicating that the acts_as_taggable pluggin is not loading, yet in my test enviroment I can run tests against act_as_taggable methods for that very same class just fine. Has anyone else experienced this? Tim Case tim@karmacrash.com -------------- next part
2006 Nov 22
3
RESTful web service design question
I''m working on a Rails app that needs to expose a RESTful web service. I''m curious to know some of the best practices as it relates to RESTful API design. Let''s say I have a set of related objects on the server side. I''ll use the venerable subscribers, subscriptions and magazines example to lay it out. class Subscriber < AR has_many :subscriptions
2007 Apr 28
6
RESTful web service tutorial?
Hi, I would like to turn some of our simulation codes out to pasture and string some of them together by draping them in web services. I''m looking for a RESTful Camping tutorial to get started ... pointers appreciated. Some simple example applications: airfoil force calculator: feed it an airfoil geometry, an angle of attack, and a Mach number, and it returns the lift, drag, and
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run "rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed error. The version of Switchtower I''m using is 1.0.0 and the deploy task is the default supplied with Switchtowe. However, I dont have any problem when :db is changed to the same as :web and :app. -------------- next part
2006 May 30
3
act_as_dom_tree
im thinking about extracting this into a plugin, but it currently relies a couple gems and another rails plugin. is there a dependency management feature with ./script/plugin? i never could get it to check anything out of SVN let alone install dependent stuff... -- Posted via http://www.ruby-forum.com/.
2006 Oct 25
7
rest nested resources - Help please
I can''t believe I''m back again with another rest question. I did go through the peepcode podcast. I thought though you can have multiple nested resources, is that not true ? I have this set up map.resources :candidates do |candidate| candidate.resources :canbackgrounds candidate.resources :canpositions end I just coded up teh canpositions and now all
2010 Mar 13
7
recommendations for web video bit rates
Hey, everyone. I'm sure this thread will generate some email! Some people are working on a super-easy to use converter for people to be able to convert videos to Theora for the upcoming Get Video on Wikipedia push: http://videoonwikipedia.org/ (Note that this isn't being pushed yet, and is pre-launch quality!) For the converter one thing we'd like to be able to provide is a set
2006 Jan 17
2
Switchtower & OpenSSL
I''ve been deploying local applications into production (both linux boxes) with Switchtower, and I''ve had no problems, until now. I just tried doing a "rake deploy", and I get this error: ============ [update_code] exception while rolling back: NameError, uninitialized constant OSSL rake aborted! no such file to load -- openssl ============ Now, on both the production
2006 Jun 05
18
Ideas for Rails Shirt Graphics
I''ve had a couple ideas for Ruby on Rails shirt graphics for a little while now: 1. "Fuck You" superimposed over, oh, probably a Ruby gem. Or Rails of some sort. 2. "Ruby on Rails" superimposed over rails of cocaine. Maybe also with a graphic of a crazed looking coder. Anybody got graphics? Or can make them? Heh! Joe -- Posted via http://www.ruby-forum.com/.
2013 Mar 06
0
gluster-rest, a RESTful web api server for gluster
Hey everyone, I did a quick hack in go about a month ago and gluster-rest was the outcome. You can find it at https://github.com/kshlm/gluster-rest The program is basically a wrapper around the gluster cli. It translates incoming requests to the correct gluster cli command, executes the cli command with the '--xml' parameter to get xml output and returns the xml document. For eg, For
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success. I can execute: ''rake remote_exec ACTION=setup'' but when I try to execute : ''rake deploy'' I got this error: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0 /lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task deploy transaction: start
2006 Apr 10
6
"Pursuit of Happiness" ? Are you sure ?
I always kind of liked this title (the title of Davids super Rails presentation), but then I saw this quote today: "The pursuit of happiness is a most ridiculous phrase; if you pursue happiness you''ll never find it." by C.P Snow I''d have to agree with this quote. It''s the same as love... go looking for it, and you''ll never find it. Soooo... David,