search for: saltedhashlogingenerator

Displaying 20 results from an estimated 22 matches for "saltedhashlogingenerator".

2006 Feb 07
1
Using select with saltedhashlogingenerator
hi, i just got started with rails and am trying to work with the (deep breath) saltedhashlogingenerator gem in my app. more specifically, i am trying to generate a select box in my _edit partial, via: <%= form_input select(:id, :name, @customers) %> (i used Customer instead of User when installing the gem into my rails app) this would appear to be the correct syntax, based on the wiki do...
2006 Jan 04
0
[Wiki] Down - SaltedHashLoginGenerator
Does anyone know where to go to download/read docs for SaltedHashLoginGenerator. The URL: http://wiki.rubyonrails.org/rails/pages/SaltedHashLoginGenerator generates the following: Application error (Rails) Thanks, Dave -- ~~~~~~~~~~~~~~~~~~~ D''Andrew "Dave" Thompson http://dathompson.blogspot.com
2006 Apr 14
1
SaltedHashLoginGenerator Integration Woes
I''m trying to modify the SaltedHashLoginGenerator to where it separates the users table into two tables: a users table which contains login info: token, salt, etc) and userprofiles table (which contains firstname, lastname, authlevel, etc) I''m trying to use the existent helper for user under app/helpers/user_helper.rb and copied to...
2006 Aug 17
2
SaltedHashLoginGenerator no such file to load -- iconv
Hi, I''m trying to use the SaltedHashLoginGenerator as documented on http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator Ruby version: ruby 1.8.4 (2005-12-24) [i386-openbsd3.9] I''ve the following commands: gem install salted_login_generator gem install localization_generator rails myapp cd myapp ruby script/generate salted_...
2005 Dec 19
0
Wiki link down that points to SaltedHashLoginGenerator
http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator gives Application Error
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 Apr 03
3
SaltedHashLoginGenerator Verification Trouble
Hello all, Any help with this one is MUCH appreciated. I am running Ruby 1.84 and Rails 1.1.0 on Win32 with a local SMTP server. I can successfully send a signup confirmation email with a confirmation link, but when I click on the link, it says that I am logged in, but it never verifies the account. This is the link provided by the system:
2005 Oct 20
2
Salted Login Generator Installation
...the same thing when I try to install the regular login_generator or localization_generator that the salted one depends on. My questions to all the experts out there are: 1) Why is it doing this? (I''m guessing it requires rails 0.11.1, but this page http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator says 0.13 should work) 2) Is this an error with the gem? 3) Is this an error with my ruby configuration? 4) What can I do to get around this? I have tried the --ignore-dependencies option but gem doesn''t seem to understand it (I may be using it wrong). Anyways, any help would be gre...
2006 Jan 29
3
SHLG and lib dir
Slowly 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...
2006 Feb 25
2
A Couple of Questions
Hi All, I have been using Ruby and Rails for only a few short days and I am loving it so far. I have a couple of questions relating to a specific project I am working. 1. I am wondering about sessions expiring after a set period of in activity and what would be the easiest way to set it up. 2. I would like to be able to users on the system. Each of these users has a login of there own. Each
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 Mar 30
6
Global Method Declaration?
Is there a place where I can put a method that can be accessed in both views and controllers? Here''s the situation, maybe someone can suggest a better way to go about this: I created my own custom login system with email verification and user roles (basically, I tinkered around with SaltedHashLoginGenerator until I finally gave up and wrote my own). One role, of course, is an admin role. Users with this designation can add headline articles, new employee bios, etc. All methods in a controller may or may not need the admin role so I cant use a before_filter in all of them. So I created an is_admin...
2006 May 03
8
hiding table IDs from users
I was wondering if anyone had thoughts on the most efficient way of making sure users never see internal table IDs? Clearly, scaffold views show a lot of IDs by default and those can be hidden. The problem seems to be all of the IDs that Rails passes around in URLs (such as http://mysite.com/user/show/12345). My primary concerns are security and confidentiality--one can imagine that there
2006 Nov 04
0
login sugar generator
After being frustrated (yet again) last week when attempting to use the salted_login_generator in a new rails project, I have modified it so that it works better for my needs. Since the SaltedHashLoginGenerator wiki page seems to indicate many people are frustrated by this package which is very nice but has been broken since rails 1.1.4 I think, I have gem-ified my version of the generator and released it. In my version: * All of the tests pass on Rails 1.1.[456]. * Example DB schema uses migratio...
2006 Feb 17
0
Problem with string "merging" / escaping
I''m on Mac OS 10.4.3, Ruby 1.8.2, Rails 1.0, MySQL 5, SaltedHashLoginGenerator and I''m seeing a strange problem where sometimes generated HTML isn''t quite correct, in the following way: My code: <%= datetime_select :event, :meet_at, :start_year => 2006 %> Generated code: <select name="event[meet_at(1i)]"> ["<option value...
2006 Feb 26
5
log in
How to carry out log in, whether that is we enter a login and the password and it is checked is in a database? -- Posted via http://www.ruby-forum.com/.
2005 Dec 23
1
Salted Login Error
Anyone know what''s causing this? ------------------------------------------------------------------------ 1) Error: test_delete(UserControllerTest): NoMethodError: undefined method `advance_by_days='' for Time:Class ./test/functional/user_controller_test.rb:132:in `test_delete'' 2) Error: test_signup(UserControllerTest): NoMethodError: undefined method
2006 Apr 03
3
Retrieving a record using created_by
Hello, Thank you all in advance for your help with this. Environment: Windows XP Pro (Development only) Ruby 1.84 Rails 1.1.0 SaltedHashLoginGenerator Plugins: file_column, userstamp I have a user table per the salted_hash_login generator. I have an orders table that has a column named created_by that is updated by the userstamp plugin. I am trying to retrieve all of the orders for a single user (the one logged in) and am not sure how to do i...
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 M...
2006 Aug 25
0
Re: login sugar
...a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > After being frustrated (yet again) last week when attempting to use > > the salted_login_generator in a new rails project, I have modified it > > so that it works better for my needs. Since the > > SaltedHashLoginGenerator wiki page seems to indicate many people are > > frustrated by this package which is very nice but has been broken > > since rails 1.1.4 I think, I have gem-ified my version of the > > generator and released it. In my version: > > > > * All of the tests pass on Rail...