Define the methods in the right place
Now Rails only define what is needed
Allow failures on jruby