Embarrassed to admit that I solved my own problem, and it was not related to modules, just a dumb error calling the wrong method from the console version.
I suspected modules because prior to this I had spent several days getting the modules right to make rails happy, so when this turned up I thought it was still part of that original problem.
Thanks anyway...