I’m trying to use the feature of AWS where it will take an object
from ActiveRecord::Base instead of an AWS::Struct object. Whenever I
it, though, I get the craziest error:
NoMethodError: You have a nil object when you didn’t expect it!
The error occured while evaluating nil.new
The reason why there’s a nil object instead of a type class object is
because something tried to create a StructuredType of Exception, which
(strangely!) doesn’t actually work.
Changing my type to any of the internals or to a class derived from
AWS::Struct causes the problem to disappear.
I know I’m a bit short on details, but the full test case is fairly
to construct – create an ActiveRecord model, create a basic AWS API,
try to make the API method return the model. If it’s unclear, I’ll whip
a sample example to demonstrate the problem as I see it, but it probably
won’t be of a form suitable for inclusion in the test suite, so it’s
probably better if people who know about such things build the