If you are trying out spring and jruby and get this exception “org.jruby.exceptions.RaiseException: undefined method” do not fret. Take a look at this link , looks like as of spring 2.0 and 2.0.1 there is a bug where any objects that are passed into jruby by spring do not seem to know there methods and the fix is part of 2.0.2 , will just have to wait till 2.0.2 is available.