This project is archived and is in readonly mode.
ActiveResource transfer of 'serialize :foo, Array' (YAML) attributes fails
-
Matthew Moore
- Assigned user set to DHH
-
Matthew Moore
- Tag changed from activeresource to activeresource, patch, tested
Here's a patch that allows for loading of arrays of strings, as opposed to arrays of hashes. This is a fairly general solution that covers the scenario where the the seralized attribute is an Array of strings.
-
Matthew Moore
- Assigned user changed from DHH to Michael Koziarski
- Tag changed from activeresource, patch, tested to activeresource, patch, tested
-
Michael Koziarski
- Assigned user changed from Michael Koziarski to Rick
Any thoughts rick? I don't really use active resource so I've no idea / opinion
-
thesmith
Has there been any movement with this? I have tested the patch against a track.search feed from last.fm and it stops ActiveResource from raising an exception on multiple leaf elements.
What release will this be part of?
-
Repository
- State changed from new to resolved
(from [4df45d86097efbeabceecfe53d8ea2da9ccbb107]) ActiveResource can load array of strings, like serialize :bar, Array
Signed-off-by: rick technoweenie@gmail.com [#1055 ActiveResource transfer of 'serialize :foo, Array' (YAML) attributes fails state:resolved] http://github.com/rails/rails/co...
