Displaying 2 results from an estimated 2 matches for "productapi".
2005 May 31
2
Rails Web Services
...tes/scaffolds/methods.rhtml
</code>
This is because of the "web_service_scaffold :invoke" line, as seen
below. I''ve also tried this by using an earlier gem version of rails
(0.12.1, instead of the current 0.12.1.1337 beta gem)
<code>
# app/api/product_api.rb
class ProductApi < ActionWebService::API::Base
api_method :find_all_products,
:returns => [[:int]]
api_method :find_product_by_id,
:expects => [:int],
:returns => [Product]
end
# app/controllers/backend_controller.rb
class BackendController < Applicati...
2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks,
I need your opinions on a basic design issue.
I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web
server <-> RDBMS communication with RoR, but I still have a whole host
of users (other servers/OS''s etc) out there wanting to talk to my
RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI
directly (they are not allowed