Hi all, I am having the same problem that Greg originally described (undefined method: 'foo' during the running of the bootstrap), in addition to getting
NoMethodError: undefined method 'guest_user_authorized?' for User::Class if I brute-force my way past the bootstrap errors by setting the role <-> permission link manually in the DB. I concur with him that it looks like the overrides for the User Class aren't being loaded, but I don't know why. I've tried all of the possible ways to specify engine loading in environment.rb, and none of them make a difference. I get the same NoMethodError when I try to get something out of 'User.roles' in the console. I have had a working Login Engine installation in the app for a week or two, so I'm pretty sure that part is solid. All of the necessary tables also appear to be in place and populated. I hope something in my rambling helps jog your memory or push you in the direction of whatever might by amiss here. Jim James Adam wrote: > In a console, can you get and sensible output from > > User.roles > > or > > UserEngine::AuthorizedUser > > ? > > I'm just checking to see if the user engine has been loaded or not. > Oh, also check that you've got Engines.start :login, :user in your > environment.rb file... > > - james > > On 2/16/06, Greg Donald <[EMAIL PROTECTED]> wrote: >> [email protected] >> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org >> > > > -- > * J * > ~ -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
