Did you read this…??
Christian, I wanted to get a bit more info about the Marshal class, but
cannot seem to find it. I searched in the JRuby API but only saw the
Like I said, I need to pass the objects to Drools and Drools need to
recognize them as a special named class for the “facts” to work. That
was why I created a Java class to inspect an object and then passed a
JRuby mongoid/moped object. JRuby properly see it as an object of type
“Record” or whatever I have called it, but my Java program saw the class
Drools is a rules engine that responds to facts that are actually Java
classes with specific values. So if for example, I have customer data
in a class but Drools not see the class as being “Customer”, then it
will not trigger processing. The class types have to match as well as
the method calls.
Posted via http://www.ruby-forum.com/.