Displaying 1 result from an estimated 1 matches for "mybmsuser".
2005 Mar 09
10
Confused about extending the login generator ''user''
...is straight from the README, ie:
Require_dependency "login_system"
class ApplicationController < ActionController::Base
include LoginSystem
model :user
end
2) My user_model.rb is a little different because I have defined the
relationship to the type table, ie
class MybmsUser < ActiveRecord::Base
belongs_to: user_type
3) I''ve added the ''user_type_id'' to my ''users'' table and created the
''user_types'' table and user_types model.
If I comment out the ''belongs_to: user_type'' then the a...