rubyamf/rubyamf — Issue #11: Preloading models?
Author: lesliev
Created: 2011-12-09 03:08:14+00:00
State: open

In my project I notice that when I run my project in development ActiveRecord models coming from the Flex side are being converted into hashes because RubyAMF is not recognizing them. This is because the models are not pre-loaded and so they are unknown to RubyAMF as it deserializes.

Is there a way around this? So far I have been trying to require my models manually in an initializer but thats a horrible solution.