When there are java classes that are imported into a jruby Rails
project (i.e com.domain.system.User), which is referenced as User
after java_import, and we’d like to connect the class User to
ActiveRecord to do more operations on users table. What is the
standard way of doing this to avoid naming conflicts?
Is there a way to do this using the same class name? so that we can do
Maybe something like java_include from the ActiveRecord class, or
maybe make the ruby class inherits from the java class and then add
the ActiveRecord functionality some other way.