ActiveResource Tools, Tips, and Techniques

Moderated by: George Feil
Location: Room 307 - 308 Level: Expert

ActiveResource is a powerful tool for accessing and manipulating external resources and building the semantic web. However, version 2.3 of the ActiveResource gem lacks several key features that limits its effectiveness. For instance,

1. It does not handle type conversions automatically.

2. It doesn’t have built-in support for resource hierarchies, compared to ActiveRecord (e.g. has_many, belongs_to).

3. It assumes a single authentication endpoint. This makes using it cumbersome when connecting to an external service with multiple user endpoints; for example, connecting each user of your application to their individual Twitter accounts).

The purpose of this BoF is to share your experiences, tips, techniques, and gems for extending ActiveResource, with the ultimate goal of submitting extension proposals to the Rails Core Team for inclusion in Rails 3.

Comments on this page are now closed.


Picture of George Feil
George Feil
06/08/2010 12:50pm EDT

Thanks to everyone who participated! I will write a blog summary of everyone’s ideas, and will post a link once it’s ready.

Picture of George Feil
George Feil
06/04/2010 10:55am EDT

Looks like ActiveResource in Rails3 does handle some type conversions now, so that’s one issue down. We’ll focus on the resource hierarchies and authentication.

co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Heroku
  • 8th Light
  • Blue Box Group
  • InfoEther
  • JetBrains
  • New Relic
  • Open Hosting
  • Rhomobile
  • WyeWorks
  • Linux Pro Magazine
  • Chargify

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine at

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

For information on trade opportunities with O'Reilly conferences or contact mediapartners@

Program Ideas

Send us your suggestions for speakers, topics, and activities to

Press and Media

For media-related inquiries, contact Maureen Jennings at

RailsConf Newsletter

To stay abreast of conference news please sign up for the RailsConf newsletter (login required)

Contact Us

View a complete list of RailsConf 2010 contacts.