sanger/sequencescape — pull request #325 by mattdenner (2011-11-16 12:50:00+00:00)
Title: 20293341 insecure method errors

We've been seeing 'insecure method' errors in seemingly random places
and it would appear to come from the code that this commit repairs. If
you do Marshal.load(Marshal.dump(object)) and object contains
ActiveRecord model instances, then the classes seem to be tainted in
some way. Ignoring those AR instances during the serialization process
eliminates the problem and everything is fine.