# Active Resource without Formatters

**URL:** <https://www.ruby-forum.com/t/active-resource-without-formatters/159089>\
**Category:** Rails\
**Created:** [January 31, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/active-resource-without-formatters/159089 "2009-01-31T12:50:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![objo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@objo](https://www.ruby-forum.com/u/objo)\
**Post date:** [January 31, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/active-resource-without-formatters/159089/1 "2009-01-31T12:50:58Z")

</div>

I have installed the ExtensionlessFormat plugin but I am still not able  
to  
get the information I need from the resource.

The resource has a RESTful API that looks like this:

GET {host} /processdefinitions A list of process definitions  
are  
returned

As you can see they are expecting me not to supply the format in the URI  
hence why I installed ExtensionlessFormat plugin.

When I instantiate the resource and perform a .find(:all) method I get  
the  
following error:

> > pd = ProcessDefinitions.find(:all)  
> > NoMethodError: undefined method `collect!' for #<Hash:0x24315b4> from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.2.2/lib/active_resource/base.rb:597:in `instantiate\_collection’  
> > from  
> > /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.2.2/lib/active\_resource/base.rb:574:in  
> > `find_every' from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.2.2/lib/active_resource/base.rb:517:in `find’  
> > from (irb):2

If anyone has any advice concerning this matter, thanks for the help in  
advance.

–  
Thank you,

Joe O.  
[agilejoe.lostechies.com](http://agilejoe.lostechies.com)
