search for: userview

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

Did you mean: overview
2006 Feb 22
0
model''s custom attributes not loaded if file is not in app/models/ folder, HELP!!
...- /app/models/profile/poweruser.rb, --------- module Profile class Poweruser < ActiveRecord::Base set_table_name "users" def fullname ">>> power user: " + self.first + " " + self.last end end end --------------------- /app/controllers/userview_controller.rb, works --------- class UserviewController < ApplicationController def index @user = User.find(1) logger.debug @user.fullname end end ----------------- /app/controllers/powerview_controller.rb, 1st time works, not after --- require ''profile/poweruser'' c...