Displaying 20 results from an estimated 3000 matches similar to: "Please help"
2007 Dec 18
2
RFacebook | Help required
Hello all,
I am developing a basic application using RFacebook. The tutorial Im
following is from
http://www.liverail.net/articles/2007/6/29/tutorial-on-developing-a-facebook-platform-application-with-ruby-on-rails
After I develop the facebook app, and start the server and send a request to
http://127.0.0.1:3000/socialrecipe, it takes me to the facebook login page
(as expected, so no issues up
2009 Sep 18
13
Rails 2.2.3-1 Problem
After installing the rails I faced this problem. If anyone aware of this
problem, kindly give solution for this.
vellingiri@WebDevel:~/public_html/Isync$ ./script/server
=> Booting WEBrick...
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate'': can''t
activate activeresource (= 2.3.4, runtime), already activated
activeresource-2.1.0 (Gem::Exception)
from
2008 Feb 05
9
ActiveResource / Creating an API
Hi,
I am currently looking at creating an api for a new RESTful app built
using rails 2.0. The two solutions I have come across seems to be
ActiveResource and ActionWebServices.
Although there seems to be plenty of documentation for the older
ActionWebServices (both online and in books), this does not seem to be
the case for ActiveResource.
Does anyone know of any decent articles / screencasts
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
2009 Apr 18
1
RESTful posting
I''m implementing a Rails front end to a Windows system by using RESTful
web services to send data back and forth. Luckyly all the business
objects in the Windows system know how to serialize themselves into XML
so it''s not too complicated.
But when I looked at the XML that gets sent back to the service in a
POST when you do a myresource.save, all the fields that had underscores
2007 Aug 22
1
ActiveResource find method and restful controllers.
Hi,
What''s the best way to add support for the activeresource find method
in the controllers in my rails app?
As I understand it when you invoke something like:
Person.find(:all, :params => {:name = ''toby''})
this generates a request of:
GET /people.xml?name=toby
Does this mean that in my index method in PeopleController in my rails
app I have params[name] set to
2011 Feb 28
3
Feature: ActiveResource - Adding associations through reflections
Hello everyone,
I''m new in contributing and i saw in the contributing-guides, that i
have to write an email at this list.
I hope, that''s the right place for this. If it''s not, i''M really
sorry.. ;)
Could someone please give me feedback about this lighthouse-ticket?
2006 Aug 05
4
Can we use ActiveResource yet?
I need to split some information up between two servers, and wanted to
use REST for it. I can write the REST server really easily...but I
don''t know how I can actually use it. I downloaded Rails trunk to
mess with ActiveResource, but it seems that it doesn''t have create
functionality enabled yet.
Is it possible to use AR fully? If not, what''s the best way to
consume
2006 Aug 04
4
REST
I''ve been looking into RESTful approaches lately. Everything I know
my dog, Lelu, taught me.
REST (REpresentational State Transfer) is an architectural technique
for networked applications first described by Roy Fielding in his
dissertation at UC Irvine-- excellent work, especially considering
the tempting proximity of Newport Beach. As Lelu described it to me,
REST strives
2007 Mar 10
6
ActiveResources 0.1.0 Released
See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/
Reading through the rails blogosphere last week, I read a post (which
I can not find again) that suggested a completely different approach
to AJAX use in rails apps. The idea was to create a Javascript proxy
to the ActiveRecord models and allow AR operations to be called from
the client.
I see this
2006 Jul 01
3
help me understand rest
I am having a heck of a time understanding the new rest craze in rails.
what I think I understand so far:
1 rest is about the way we use http to access information on the
internet.
2 http was created with nouns and verbs in mind, but the only verbs that
are supported in browsers and server software today are ''post'' and
''get''. Other useful verbs include put
2005 Aug 25
2
Which Card to choose
Hi All
I want to terminate as much POTS lines as possible to
my Asterisk Server, please advice me which Card to
choose with accessories
Thanks
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
2005 Aug 30
2
Wierd Problem
Hi All
I have posted this problem many times on the list but
no reply, trying one more time may be someone will
response this time
When I call from 1 RTC Client to another without
Asterisk everything use to be fine but when asterisk
is there as a Registrar a problem use to occur in more
than 90% calls, Caller can hear the voice of the
receiving side
but the receiver cant be able to hear the
2010 Aug 29
0
Troll - A Rails plugin for making webservice mocking easier
Hi Folks,
Troll trumps your existing ActiveResource mocking libraries like
inbuilt HttpMock,Fakeweb or Webmock out of water. With Troll,
ActiveResource mocking just works, some of its features:
1. Don''t need to mock calls at Net::HTTP level (which webmock,fakeweb
do). Really, we don''t care what HTTP library ActiveResource uses,
fakeweb and webmock bring additional complexity
2007 Dec 27
6
ActiveResource and (polymorphic) associations
Hi,
I''m just playing with ActiveResource and I did''nt find anything about
the support of (polymorphic) associations.
Is there a support at all?
Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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 14
6
ActiveResource and RESful edit
Hi
I''d like to know how to have ActiveResource generate a URL for the
/teams/1/edit
type of resource.
I''ve got custom_methods.rb and have used
Team.find(1).get(:edit)
This generates
http://localhost:xxxx/teams/1/edit.xml
But all I get returned is a hash of the attributes (in this case of
team 1), rather than an object of team 1.
In other words the
2006 Nov 11
1
retrieving ActiveResource validation errors on attributes
So, this is probably a usage error... but I hope somebody knows how to
make this work.
I''m trying to use a RESTful ActiveResource client and print the
attribute validation errors for model attributes during an update
operation.
I''ve been following one of the threads, and am returning a response
from the server as follows:
format.xml { render :xml => m.to_xml, :status =>
2006 Aug 10
6
Multiple sites using one data source
Hi,
Just wondering if anyone has any suggestions as to the best way to
provide access to the same data source for the (possible) creation of
multiple web sites. I figure my options are:
- Direct database access over tcp
- ActionWebService
- Wait for ActionResource
I''ve done up some work with ActionWebService already, but I don''t think
it''s going to work because it
2006 Sep 01
2
Include ActiveResource
Hello,
I want to give ActiveResource a spin.
I have all the code checked out from SVN in vendor/rails (yes, including
ActiveResource).
I''m trying to make sure it gets loaded.
I did this in environment.rb:
config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/activeresource/lib )
Unfortunately I still can''t use it. I have an ActiveResource derived model,
Address:
class
2007 Feb 07
5
Mocking ActiveResource
I want to use ActiveResource in my app. Instead of hitting server
though, I want it to load from a file when I call find. Any clue how
I do that?
Pat