Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Hyperactive Resource

Hyperactive Resource

Many have said that Active Resource is not really “complete”. On the surface, this means that many standard Active Record features are not implemented.

This makes the concept of swapping Active Record for Active Resource immensely difficult (and cludgy, hand-built, buggy etc etc)

Arguably, a “complete” Active Resource would behave like Active Record or, as the rdoc for Active Resource states “very similarly to Active Record”.

Hyperactive Resource is an extension to ActiveResource::Base and goes a long way towards the goal of an Active Resource that behaves like Active Record. It will slowly be updated with all the standard features of Active Record until (someday) it can be used almost interchangeably.

This code could indeed go directly into Active Resource – and a slow, drawn-out project to do this is currently underway (look out for some of these features arriving in Rails 3.0). This process understandably takes some time as some of the changes are fairly radical – and we don’t want to go about upsetting existing systems.

Until then, this plugin serves as an alternative that can be used, under the proviso that anyone using it realises that it’s still experimental and still under construction.

It’s especially useful for people that don’t want to wait until Rails is ready, but want to to start using the functionality right now.

HyRes is built for (and intended for use with) the latest stable release of Rails pre-3.0

See project webpage for more detail and latest features/TODOs

== Copyright and Authorship

Author:: Taryn East Copyright© 2009:: White Label Dating [http://whitelabeldating.com]

Based on Work Done by Medical Decision Logic

Original copyright: Copyright© 2008 Medical Decision Logic

Released under the MIT license (see attached file)


Homepage: http://github.com/taryneast/hyperactiveresource/tree/master

Categories: Technology

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

Taryn East