search for: romscontrol

Displaying 1 result from an estimated 1 matches for "romscontrol".

Did you mean: omcontrol
2007 Nov 14
6
My own methods on model + "extends" problem?
Hello. I have a UsersController and a Model called User with a "new" method, like this: class User < ActiveRecord::Base def test return 1 #I can do anything and return any data, the problem continues. end end The problem is that I cannot access my "test" function from the controller. It says that the method doesn''t exists. class