I\'m trying to extend my ActiveRecord class with some dynamic methods. I would like to be able to run this from my controller