similar to: SaltedHashLoginGenerator Verification Trouble

Displaying 20 results from an estimated 3000 matches similar to: "SaltedHashLoginGenerator Verification Trouble"

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 get to the signup page, register, and
2006 May 01
6
Two developers, one on unix and one on windows
Hello all, An interesting problem, I am developing on Windows, another developer is using Unix, and our app and svn repository are running on a Linux box. We need an easy way to not keep breaking our app and each others development environs when we check in the code. The piece in question is the dispatch.fcgi. The path to ruby is (obviously) different in Windows and Unix. Has anyone run into
2006 Apr 14
7
SHA2 Issues
Hello all, Thank you in advance for your help with this. I am trying to implement the user authentication method from Ruby Recipes which calls for the use of SHA 2. Here is the code for the password: def password=(pass) salt = [Array.new(6){rand(256).chr}.join].pack("m").chomp self.password_salt, self.password_hash = salt, Digest::SHA256.hexdigest(pass + salt) end I open
2006 Apr 12
2
Tracking page hits
Hello all, I am developing an online store and would like to keep track of how many times each product was viewed. While I can keep track of page hits using something like webalizer, this won''t really work (I don''t think) as the pages are not going to be static. Has anyone else implemented this and if so could you please point me in the right direction. A potential solution
2006 Apr 14
6
LoginGeneratorACLSystem Issue
Hello all, Again, thank you all in advance for any help here. I am trying to figure out how to show the role associated with a user, in a template. I am using the LoginGeneratorACLSystem along with the LoginGenerator. I can show the first name of the user by writing "<%= session[:user].first_name %>" but when I write "<%= session[:user].roles.name %>" it spits
2006 Jun 12
5
railish icons?
This is a little off topic but someone here knows, I''m sure... Does anyone have a good site to find freely available standard icons for things like add/edit/delete/save? I''m looking for a set of clean and simple matching icons that capture that Railsy-Web 2.0 feel... Maybe icons aren''t Railsy... Steven -- Posted via http://www.ruby-forum.com/.
2006 Apr 16
2
Making requests in order
Hello all, This is an interesting problem I have been working on. What I have is a little multiuser project request tracking application. What happens is that I log in and create projects and assign people to the projects. Each project has steps associated with it, and the steps need to be done in a certain order. Now, I have to request that the assigned person perform each of the steps, and
2006 May 19
12
How to build a server
Hi, I''ve been learning about building Rails apps for about 8 months but I don''t really know how servers work or how to build a server. I have an old 450 GHz Pentium computer I can play with. Since I use OS X, I was thinking about installing a BSD system and trying to make a MySQL/Rails server. That is about all I know about servers. How does a server in my house get connected
2006 Feb 27
3
Send parameter along with method in before_filter
Hello list, I have an app that has a very simple authorization scheme. A person can have many roles and roles can have many people. In my app, I''d like to do before_filter :login_required (since no role name is provided, it accepts any users with credentials) before_filter :login_required ("administrator") (only accepts those with role administrator) before_filter
2009 Mar 05
4
before_filter :action_name OR :action_name
Hi there I am wondering if we can use before_filter in the form of :action OR :action what i want to do is to implement one of the actions, if the first failed, then go to the second when i use before_filter :action1 before_filter :action2 each method will run them, my case is that i want to check if one of them is true and not both any idea?
2006 Jun 09
5
Rails "pasteboard"?
Hello all, I''m looking to setup a simple network "pasteboard" for files within my organization, to circumvent people trying to email 50 meg files and me being unwilling to open up our mail server for massive email transfers. I''ve seen the pasteboard idea elsewhere where you can go and paste code or log files or whatever, and then they just fall off an hour or a day
2005 Aug 17
4
Stop an action ?
Hi. I am working on a generic authentification system for rails (more complete than the login generator). The way it works is you call a method inside your action, passing the domain as a parameter (domains are like a group of users with specific rights). For that purpose, I need to exit the action inside this method because it redirects to a login page if that person isn''t
2002 Sep 17
2
Install on Mandrake 8.2
Hello, I have a fresh install of Mandrake 8.2 which comes with Samba 2.2.3a. I wish to upgrade to Samba 2.2.5, however, I cannot find the correct RPM to do so. Any help here is greatly appreciated. Thank you. - Robert Dempsey
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
2010 May 27
3
before_filter always running in test, not in development or production mode.
I''m using Shoulda and restful_authentication on Rails3 and whenever I run my tests a before filter for login_required is always triggered, despite my filter being set up as: before_filter :login_required, :only => [:update, :edit, :suspend, :unsuspend, :destroy, :purge] My test is this: context ''A guest to the site'' do context ''on GET to
2008 May 06
12
Why before_filter is not working?
I have been scratching my head on this one for most of the day. Hopefully someone can help explain why before_filter isn''t working for my codes. In my Application controller, I have this: before_filter :login_required, :except => [:newacct, :create_newacct, :passwd_reset ] def login_required unless session[:user_id] flash[:notice] = "Please log in"
2009 Jul 25
3
Rails Authorization and Security question
Working through the Users and Authentication of Learning Rails book (great book, code needs to be proof-read in a few cases, though), I came across this: There''s still one leftover that may be worth addressing, depending on your security needs. The authorization? method has secured the data, and the view no longer shows the user options they can''t really use, but if a
2006 Mar 23
2
Scheduling Reminders
Hello everyone, I am not sure if this question belongs here but I will take my chances. I am creating a little app to keep track of my homework and when it is due, and I would like to send myself email reminders within x amount of the due time. What suggestions do you have for accomplishing this? I am running the latest versions of Ruby and Rails on a Fedora Core 5 box with qmail. Thanks for
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi, I just installed Rails 2.0.2 [root@mymachine easyx]# ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] [root@mymachine easyrx]# gem install rails --include-dependencies Need to update 16 gems from http://gems.rubyforge.org ................ complete Successfully installed rails-2.0.2 [root@remandev easyrx]# But I''m getting this error in my restful_authentication
2006 May 16
2
before_filter and the application controller
Hi there, I''m having a bit of an issue with my before_filter. I know that the filters put in the application.rb controller are global for all the controllers. In my application filter I''d like to allow access to the RSS feed method in a ''member'' controller and skip the login checks that the before_filters are currently performing. In my application my filters