The module wasn't extending ActiveRecord but Ruby Object instead!!