Displaying 3 results from an estimated 3 matches for "otherapp".
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi,
I just put together a little mixin to provide pseudo-RESTful services
in camping apps. Basically, it looks for a hidden _verb field in form
posts, and sets the @method to the supplied value (e.g. put or delete
- which browsers don''t support). This lets you define put and delete
methods in your controllers. Groovy.
Code:
http://pastie.caboo.se/22613
Is there any permanent repo of
2006 Aug 28
8
Railsy way to Export Database Schema?
Is there a nice way in rails to automatically extract an exising
database schema from an existing app and then in a new app automatically
create a database based on this schema?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2011 May 06
3
RestClient send method?
...that communicate with each
other. RestClient is a rails gem. Here we send the get http verb and a
url string comprising of the other application base url and append a
query string to it consisting of the new user email that is being
created. So if the arguments are these:
RestClient.send(:get,
www.otherapp.com/users/email?email=johnmerlino-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org)
What exactly would RestClient get back as the response? I don''t mean
this specific case, but I mean what is supposed to be sent back to
client in general. Or even if it is the ruby send
method, what exactly is Res...