This project is archived and is in readonly mode.

#5036 ✓resolved
Josef Reidinger

ActiveResource load problem with array of booleans

Reported by Josef Reidinger | July 2nd, 2010 @ 02:32 PM

Hi,
I have resource which returns array of booleans and ActiveResource cannot load it. I found that code for array in ActiveResource::Base.load is not smart enought. I think that only valid arguments to new activeResource is Hash, os for me is better to test if element of array is hash instead of trying to catch some cases which is not Hash.

my proposed fix is attached together with testing xml and test (maybe element name is not correct)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Referenced by

Pages