search for: authenticateduser

Displaying 10 results from an estimated 10 matches for "authenticateduser".

Did you mean: authenticated_user
2006 Feb 20
3
file_column and login_engine incompatibilities
...ne, but then it never gets copied to the proper permanent location. No errors - everything happens fine except for that final part. I have file_column up and running fine on other models, it''s just the User model which it doesn''t work on. If I don''t mixin LoginEngine::AuthenticatedUser to my model, all works fine again! So there''s definitely something up there. I''m off to a meeting now so can''t look any further, but will spend the evening ripping it apart to see what''s wrong unless anyone else has come across this before, or can point me in...
2006 Jun 08
2
LoginEngine: undefined method `generate_security_token''
Hi there, I''m trying to set up LoginEngine with Rails 1.1.2 on Ruby 1.8.4 on a Windows XP box and the log is reporting: undefined method `generate_security_token'' for #<User:0x39436a0> Rendering user/signup Rendered user/_edit (0.01600) Rendered user/_password (0.01600) Rails appears to be failing on key = @user.generate_security_token in user_controller.rb in the
2005 Dec 29
2
has_many & belongs_to with Plugins (login_engine)
...I figured I would have to override the User model in the login_engine. Hence I copied the user.rb from the <myapp>/vendor/plugins/login_engine/app/models to <myapp>/app/models and modified it as below class User < ActiveRecord::Base has_many :journal_entries include LoginEngine::AuthenticatedUser .. Now my limited undertanding tells me that after reloading the app, if I login and create a new journal entry, the user_id colum should be populated with the user_id of the user that created the entry but it''s not doing that. Am I missing something? Do I have to specify it explicitly...
2006 Jan 11
17
Different Types of Users and User Engine
My question is how have people implemented different types of users in their Web applications using user-engine? As for my application, I use single table inheritance in order to derive several different types of users, such as "moderators," "editors," etc ... For example, let''s say that I want to create a moderator. I define a new moderator class and Controller like
2006 Apr 27
3
LoginEngine File_column interop
...file_field("user", "image_url") %></td></tr> which now displays the upload field as it should when I go to sign up a user. I placed in the actual LoginEngine user.rb model the "file_column :image_url" line just below " include LoginEngine::AuthenticatedUser" and I can see when I submit my form that some directory structure is created. The last part I did was make a new signup.rhtml file with this as the start of my form: <%= start_form_tag({:action => ''signup''}, :multipart => true) %> This was to make sure th...
2006 Mar 14
5
Column aliasing in ActiveRecord?
Anybody know of a way to alias a column in ActiveRecord such that you could reference it via a different symbol in your view for view purposes? Like my column is named X but I want to display it as Y and maybe I have an accessor named Y set up on the model so that when I "call" Y from the view (and controller?) I''m actually manipulating the column X? Hope that makes sense.
2006 Jan 02
6
Login_engine - auth against email rather that username?
Hi all, Short of hacking the code apart, is there a method making the login_engine authenticate against email address rather than username? I find that people rarely remember usernames, and would prefer to use email addresses as the identifier. Thanks! Tom
2006 Apr 28
0
UserEngine + User Profiles
...ting my profile and my user account to have a relationship. I have in my Profile model: class Profile < ActiveRecord::Base has_one :user end In my user.rb - I''m editing the user_engines/app/,odel/user.rb directly for now: class User < ActiveRecord::Base include LoginEngine::AuthenticatedUser include UserEngine::AuthorizedUser belongs_to :profile In my profiles database I have a user_id field that is of type int(11). What I was expecting to happen (and this is obviously me being a newbie) is that when I enter in a new profile the user_id field would automagically be filled in b...
2008 Dec 19
0
Fwd: win32-security 0.1.0
..." string conversion, so you can pass a Domain SID and a domain name to a SID, and the returned string contains <domain_name>-RID - nice when printing messages containing SIDs. I also provided constant SIDs for: Null = S-1-0-0 World = S-1-1-0 CreatorOwner = S-1-3-0 CreatorGroup = S-1-3-1 AuthenticatedUsers = S-1-5-11 SYSTEM = S-1-5-18 BuiltinAdministrators = S-1-5-32-0x220 (or S-1-5-32-544) BuiltinUsers = S-1-5-32-0x221 (or S-1-5-32-545) EnterpriseDomainControllers (S-1-5-9) I also provided a constant RID for the DomainControllers group and there are others of these. BTW, a new AD domain database i...
2009 Aug 25
17
WHy is rails so annoying to deploy?
I''ve been having great fun trying to deploy a fresh install of rails on debian, specifically xlsuite to test it out, but my god how many more errors can I take before I give up. RAILS IS NOT NICE After battling with countless different errors from trying Ubuntu, Fedora, Windows and now Debian the list goes on and on and ON... now the latest error `load_missing_constant'':