remove unncessary is_a?(Hash) check
Allows serialization_scope to be disabled with serialization_scope nil
Remove left over references to scope instance variable
use :root option in render :json
@scope seems to be deprecated - updated the readme to reflect options[:s...
Array serializer should support Hash, AMS, and PORO
rename test methods so the tests run
`rails generate` runs correctly under Rails 3.0.x
* Rails 3.0.x does not yield `app` to `generator` blocks in railties. Picks a hopefully reasonable default `Rails.application` in that case. * Fixes #71
ArraySerializer can serialize arrays of Hash, ActiveModel::Serializer, or any PORO that responds to :as_json Each item in the array should not include its type as a root element, since normal arrays do not do this. If you want "typed" collections, don't use an Array.
incidentally test_array_serializer_with_root fails
This reverts commit 43f32c8.
Thanks so much to @vanstee for the initial implementation!
…er as it would be generated by rails. Also changed ApplicationSerializer to ActiveModel::Serializer