# ActiveResources 0.1.0 Released

**URL:** <https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368>\
**Category:** Rails\
**Created:** [March 10, 2007, 2:57am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368 "2007-03-10T02:57:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 2:57am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/1 "2007-03-10T02:57:43Z")

</div>

See the blog post at  
[http://blog.lonestarsoftware.net/2007/03/09/active\_resources-010-released/](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 functionality broken into 3 major components:

- Route generator which creates RESTful resources and nested  
resources based on a given AR model
- Abstract controller providing basic CRUD and Finder functionality
- Javascript proxy library interfacing to the controller API

Today’s release of ActiveResources, version 0.1.0, provides the first  
bit of functionality (route generator). The plugin has 100% test  
coverage and passes heckling with no mutations remaining. It is in the  
very early stages, but I want to start gathering feedback on the  
interface and functionality so that this plugin may eventually be as  
useful as possible.

Tony P.  
Lone Star S. Engineering Services  
[http://lonestarsoftware.net/](http://lonestarsoftware.net/)

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 5:30am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/2 "2007-03-10T05:30:54Z")

</div>

On Mar 9, 2007, at 8:57 PM, Lone Star S. wrote:

> See the blog post at [http://blog.lonestarsoftware.net/2007/03/09/](http://blog.lonestarsoftware.net/2007/03/09/)  
> active\_resources-010-released/

Would it maybe be better to come up with a different name to avoid  
confusion with ActiveResource [1]?

James.

1: [http://svn.rubyonrails.org/rails/trunk/activeresource/](http://svn.rubyonrails.org/rails/trunk/activeresource/)

–  
James S.  
Play: [http://james.anthropiccollective.org](http://james.anthropiccollective.org)  
Work: [Processing Greenbelt 2009 – James Stewart](http://jystewart.net/process/)

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 6:55am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/3 "2007-03-10T06:55:01Z")

</div>

Thanks for letting me know about that. I should have done more  
research before settling on a name. However, that project and this one  
definitely share some common goals. Perhaps one day, it’ll all blend  
together. For now, let me think about what can be done…

Tony

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/4 "2007-03-10T19:58:30Z")

</div>

On 3/9/07, Lone Star S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks for letting me know about that. I should have done more  
> research before settling on a name. However, that project and this one  
> definitely share some common goals. Perhaps one day, it’ll all blend  
> together. For now, let me think about what can be done…
> 
> Tony

Actually they’re completely different, ActiveResource is for consuming  
the very restful resources you’re exposing.

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 11:14pm UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/5 "2007-03-10T23:14:11Z")

</div>

I saw that you have also released mock active record. What is the need  
for  
mocking ActiveRecord objects?

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 12, 2007, 1:00am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/6 "2007-03-12T01:00:13Z")

</div>

Hi Rick,

My future plans for this plugin include an abstract controller and a  
javascript proxy library for consuming the services. A ruby proxy  
library would be a great thing to have as well.

Tony

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 12, 2007, 12:58am UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/7 "2007-03-12T00:58:13Z")

</div>

I use that for my test suite in active\_record. I don’t want to  
actually create a DB in order to test that the routes are generated  
correctly.

---

<div class="post-metadata">

**Author:** ![Lone\_Star\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@Lone\_Star\_S](https://www.ruby-forum.com/u/Lone_Star_S)\
**Post date:** [March 10, 2007, 11:14pm UTC](https://www.ruby-forum.com/t/activeresources-0-1-0-released/88368/8 "2007-03-10T23:14:11Z")

</div>

I saw that you have also released mock active record. What is the need  
for  
mocking ActiveRecord objects?
