I am trying send user profile images from a client to the server using ActiveResource.
Is there a gem/plugin that adds Multipart support to ActiveResource?
I have some ARes models (see below) that I'm trying to use associations with (which seems to be wholly undocumented and maybe not possible but I thought I'd give it a try)
So on my service side, my ActiveRecord object will render something like
render :xml => @group.to_xml(:include => :customers)
(see generated xml below)
The models…
I have 2 RESTful Rails apps I'm trying to make talk to each other. Both are written in Rails 3 (beta3 at the moment). The requests to the service will require the use an api key which is just a param that needs to be on every request. I can't seem to find any information on how to do this.
You define the url the resource connects to via the…
Hi there,
I'm trying to request data from another Rails app, but I keep getting a "URL not found" error.
Is it possible to use the debugger to figure out the intended URL and parameters for an intended ActiveResource call?
For example, I'd like to make a GET request with the following parameters:
…
I'm following the Getting Started with Rails guide but ran into an issue opening http://localhost:3000
Shell output:
[2010-03-23 19:19:14] ERROR NameError: uninitialized constant ActiveResource::Base
Error in the browser:
Internal Server Error
uninitialized constant ActiveResource::Base…
Im looking for a way to map an ActiveResource to SimpleDB
I want to avoid plugins/gems as all I have used are outdated/buggy/not mantained
It doesnt seem hard, I wonder if any of you have succesfully implemented a rails app with simpleDB as an Active Resource. How did you do it? Thanks.
I'm working with some old code and using ActiveResource for a very basic Twitter integration. I'd like to touch the app code as little as possible and just bring OAuth in while still using ActiveResource.
Unfortunately I'm finding no easy way to do this. I did run into the…
i have a rails app which makes heavy use of activeresource and httparty to make api calls.
Is there any library/extension to log the requests and parse them, so that log analysis becomes easier and automated.
RailsLogAnalyser is good but what about extra calls, what…
i am using amazon simpledb with the aws_sdb gem and aws-sdb proxy as outlined in a documentation from amazon with ruby on rails and a local aws proxy that runs on webrick (providing a bridge with ActiveResource).
see…
I've put together a RoR application and would now like to publish a RESTful web service for interacting with my application.
I'm not sure where to go exactly, I don't want to simply expose my ActiveRecord models…
I have a Rails based server running several REST services and a Rails based web UI that interacts with the server using ActiveResource. Same server is being used by other clients( e.g: mobile). I have to generate…
I'm working on an API that accepts data from remote clients, some of which where the key in an HTTP POST almost functions as an array. In english what this means is say I have a resource on my server called…
I want to implement a model "Contact", whose data is not stored in database, but remotely.
The operations on data are done via web service.
The model Contact is related to other models, whose data is stored…
In my application there are two folders one for a rails application and another for a ruby application. In the ruby folder I have created a ruby file in which I have written code to access some model which…
Hi, this is a pretty basic question but I'm not entirely clear how to do this.
I am trying to use a third-party service that has RESTful service. The service is called Postful. But I'm not clear what…
I have been having a problem with using Bundler and being able to access my gems without having to require them somewhere, as config.gem used to do that for me (as far as I know). In my Rails 3 app, I…
For upgrading Redmine from 1.0.1 to 2.1.2, I need to execute the command: rake db:migrate RAILS_ENV=production
However, doing so produces the following error: rake aborted!
Please install the…
Hi Everyone,
I am trying to get some information posted using our accountancy package (FreeAgentCentral) using their API via a GEM.
http://github.com/aaronrussell/freeagent_api/
I have the…
I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error:
$ sudo gem install rails
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve…
I'm trying to get Thinking Sphinx to work in test mode in Rails. Basically this:
ThinkingSphinx::Test.init
ThinkingSphinx::Test.start
freezes and never comes back.
My test and…
Hi, this is a pretty basic question but I'm not entirely clear how to do this.
I am trying to use a third-party service that has web-based service. The service is called…
i am developing a ruby on rails (2.3.8) application with data storage amazon simpledb.
i am using the aws-sdb gem in the version aws-sdb (0.3.1)
there are a few bugs, but…
Hi all,
I had installed rubygems 1.8 and further on I had installed the rails 2.0.2 gem.
When I tried to view the rails version installed through the command rails -v
…
I get this error message from Passenger:
Permission denied -
/root/.bundle/ruby/1.8/specifications/activeresource-3.0.0.beta2.gemspec
Does anyone recognize it…
Hello,
I am receiving the error:
uninitialized constant SQLite3::Driver::Native::Driver::API
within my application, however I have installed:
ctionmailer-2.3.5…