search for: shlg

Displaying 9 results from an estimated 9 matches for "shlg".

Did you mean: shl
2006 Jan 29
3
SHLG and lib dir
...y figuring out how to get my SaltedHashLoginGenerator stuff working. The wiki page says to put "before_filter :login_required" in the user (my "user" is "member") controller or in ApplicationController. However, wherever I put it I get NoMethodError. The rest of the SHLG stuff seems to be working... or at least I could get to the signup page, register, and confirm my registration from the email it sent. But the login_required method -- which is in my member_system.rb ("member" is my "user") -- can''t be found. Hmm, although, I notice...
2006 Jul 04
4
Question about Salted Hash Login Generator
Hi, I am using salted hash login generator to create my login page. In the user_environment.rb file, I saw that there is a comment saying should NOT include the email field in the changeable user fields array. Does anyone know why? > # Add all changeable user fields to this array. > # They will then be able to be edited from the edit action. You > # should NOT include the
2006 Mar 07
2
memcached and Joe Hosteny''s Salted Hash Login Generator
Hey, so - I''ve been fiddling about and fell in to use Joe''s simple-yet- painful SHLG (I shouldn''t complain... not at least I have time to produce one :)). I just recently plugged in memcache, and- it''s not preserving my login. I traced the execution and it sets the output of User.authenticate (a user AR object) into @session[''user''] correc...
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which practically identical. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2006 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of before. Last week when I was digging for user-account sample code for my web-app, I instead found the LoginGenerator and started using that: http://wiki.rubyonrails.com/rails/pages/LoginGenerator Is one of these preferred over the other? From skimming the API docs, it does seem that LoginEngine has more features,
2006 Mar 21
1
Functional Test: post - Other controller
Hi All I''m attempting to get all of my tests clear after installing the Salted Hash Login generator. Now I''ve protected the entire application so login is required from all points. However I get a fail 302 on all other protected controllers as I haven''t explicitly logged in and got the session. I thought adding the following to the beginning of my methods in the
2006 Jan 26
2
Change email template for Salted Hash Login Generator?
There are a couple of things I''m trying to do with the salted hash login generator. First off I am trying to change the email template to include some other things such as links to the site, instructions and other email goodness. Second I am trying to find where the gem is pulling the app_url from because I changed it to reference my host name, but I have not been able to get it to
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test... /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb" "test/unit/localization_test.rb" "test/unit/user_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader Started ........F....E Finished in 0.108794 seconds. 1)