ActiveResource Tools, Tips, and Techniques

Moderated by: George Feil
Location: Room 307 - 308

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.

Comments

Picture of George Feil
George Feil
06/08/2010 4: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 2:55pm 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 yromaine@oreilly.com.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

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

Program Ideas

Send us your suggestions for speakers, topics, and activities to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com.

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.