Displaying 20 results from an estimated 10000 matches similar to: "Private API in REST"
2008 Jun 01
1
How does 37signals code their "Open Bar" (Open ID) feature?
See here:
http://www.37signals.com/openbar
Say you have two applications:
1) Basecamp
2) Highrise
How would Highrise know that the user (with the same OpenID credentials)
exists on another application (Basecamp)?
Is there something involved for that to happen? Are they using
ActiveResource to fetch the external user table, and then searching for
that OpenID?
--
Posted via
2007 Mar 28
7
Rails, REST and JSON
Hi everyone,
I''m writing a lightweight AJAX application using Rails on the server side as
a RESTful web service provider.
I need the web service to support both JSON and XML I/O. Outputting data in
XML and JSON is easy (using to_xml and to_json),
and it''s also easy to do XML input as Rails does it for you automatically.
Is it possible to somehow have the same
automatic parsing
2017 Jun 05
3
IAX port 4569
Use the command bellow to check if is Asterisk opening the port.
netstat -nap | grep 4569
You need to see something like this output, otherwise your asterisk is
not opening the port.
udp 0 0 0.0.0.0:4569 0.0.0.0:*
10244/asterisk
Att,
H?lvio Junior
dCAA - Digium Certified Asterisk Administrator
SafeId - Gest?o de identidades e Acessos
+55 41 | 9
2006 Aug 30
6
REST on rails
Hi,
I just heard about REST capabilities of rails 1.1. Does anyone know a
good tutorial, or good article to begin with?
Thank you
--
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 to this group, send email to
2007 May 28
5
CTI in ActiveRecord
I search an plugin or gem, but don''t find nothing satisfactory. I
believe to be stranger a technology that nails the DRY, have that create
you vary equal tables, instead of using inheritance.
Exists an soluction for this? I want a solution similar to this:
create_table :people |t| do
t.column :name
t.column :address
end
create_table :customer |t| do
t.column :person_id
2007 Jul 27
2
Specifying format in ActiveResource
Hi all,
I have a need for making ActiveResource have the ability to specify
the format much like you can specify the site. So, right now (unless
I am not understanding the code, which could be, since I am a Rails
and Ruby newbie), all calls end up at http://something/call.xml. I
want to be able to call http://something/call.rss or .vcf, etc.
This is stemming from the Highrise api in 37
2007 Mar 19
1
wine and Samba
Hi!
Is there a way to run Wine from a Samba connection opened in Konqueror?
When I open it via Konqueror (double-clicking=>run with=>wine), it just
opens a window and close it fastly. When I activate the 'open in
terminal' option, the terminal leaves blank.
What can I do?
Thanks.
Vinicius
2008 Jul 16
5
''$'' placeholder naming can confuse your runner
Hi guys, I''m facing a strange behavior that smells like a bug.
consider this scenario:
Scenario: I''m cool
Given that I am cool 4 times out of 7
and this step:
Given("that I am cool $n times out of $n_total") do |n, n_total|
...
end
When running my story, this step is considered as PENDING.
If I change the name of the second placeholder to $total, the step
runs
2017 Jun 05
3
IAX port 4569
You can use tcpdump in your server to verify if it is receiving the
packets.
tcpdump -ni any port 4569
So you have more than one ip in the server?
On 5 Jun 2017 9:13 pm, <thelma at sys-concept.com> wrote:
> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
> while and it was zoiper was working OK with my previous version of
> asterisk.
>
>
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails.
my gmail configuration is :
:google=>{
:key=>"***",
:secret=>"***",
:expose => true,
:scope=>"https://www.google.com/m8/feeds/"
}
now i want to get contact from yahoo and hot mail. How to get that contact
I have given following configuration in my
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production
rake aborted!
uninitialized constant User::Authentication
The preceding I encounter when attempting to migrate to the production
database. My google powers have escaped me. Everywhere says Restful
Authentication is missing in the production server. However, to
validate this, I attempted this on the same server as the development,
which works.
So, what
2007 Jan 10
2
Get fields in a generator
I am making a generator, and I want make a partial form with all columns
the of table. How made for get count of columns, and how made for get
each columns, and also to show the name of column?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2014 Nov 01
5
Pregunta (creo que simple) para usar twitteR
Hola Alfonso, buenos días:
Lo he probado pero no me va, eso sí ha cambiado el error, el código utilizado es:
library(ROAuth)library(twitteR)
download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem")
reqURL <- "https://api.twitter.com/oauth/request_token"accessURL <- "http://api.twitter.com/oauth/access_token"authURL <-
2007 Aug 15
10
Objects in Session State Revisited
Hi Folks,
I''m still a bit confused about the issue of storing "complex" objects
in session state rather than storing simple objects.
It''s my understanding that everything is an object in Ruby. If my
understanding is correct, then storing a string or an integer in
session means storing an object.
It would seem then that the problem of storing objects in session is a
2006 Aug 10
6
Login Restfully
In DHH''s keynote, he alluded to doing logins with REST. Has anyone
implemented this, and if so, would you mind elaborating on how you did
it please?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2010 Jun 08
1
camping-oauth is now available
I finally put together the final touches on the first version of the
camping-oauth gem.
It allows you to make a Camping web app into an OAuth provider. It
leverages ruby-oauth and the oauth-plugin.
An example of a use case is a web service built with Camping (using
json/xml with/without REST).
You can find it on GitHub: http://bit.ly/campingoauth
I also wrote a blog post on how to use it (and
2007 May 10
13
REST own action
I can sent my own action to a users_controller stating in routes.rb
map.resources :users, :member => { :network => get }
I defined in my users_controller the network action....
so I can have an url like
"http://localhost:3000/users/168.xml;network"
now I would like to have another action network_plus which is a little
bit different fron the network..
sure, I can state another
2012 Oct 18
6
[LLVMdev] Announcement: Phabricator for code reviews
On Thu, Oct 18, 2012 at 11:21 PM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
> On 10/18/2012 4:18 PM, Chandler Carruth wrote:
>
>>
>> Facebook is not the only OAuth provider though. We should be able to
>> support essentially any you would prefer if that's all. Manuel's comment
>> still stands if OAuth is a problem.
>>
>
> My
2012 Oct 18
2
[LLVMdev] Announcement: Phabricator for code reviews
On Thu, Oct 18, 2012 at 1:31 PM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
> On 10/18/2012 1:32 PM, Manuel Klimek wrote:
>
>>
>> If you strongly prefer not to use an OAuth provider, let me know and I
>> can create a user for you, but I'd be interested in the reasons (and the
>> upstream phab devs might be, too).
>>
>
> Because
2010 Dec 31
9
Headers in ActiveResource
I am creating a rails app that is a gui wraping a restful web service
that uses a websso for authentication. This websso sets a series of
headers that I need to pass from the request to the
ActiveResource.find methods. As this is stuff like username etc it is
going to be different for each request. I can find examples on how to
set headers for all requests not just one.
Does anyone know of a way