similar to: [login_generator] implementing login limits

Displaying 20 results from an estimated 1000 matches similar to: "[login_generator] implementing login limits"

2005 Mar 06
3
Accessing login name from login_generator
I''m new to Rails and am modifying the ToDo tutorial app into something else. I have successfully installed authentication via login_generator and now I working toward restricting access to certain database records based on the login name. I realize that eventually, I''ll want to use the "id" field, but for now, I just want to use the user name itself. I have
2006 Apr 27
4
Sessions Problems
Hi to group! I am new to ROR! I am facing problems on sessions. First I created the one session variable. after that I created the other one. after moving to three pages the session was destroyed automatically. What is the reason please help me! Thnaks and Regards, -Kumar Varma -- Posted via http://www.ruby-forum.com/.
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep getting the following error when I run "generate login Account": /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in `manifest'': No manifest for ''login'' generator. (NotImplementedError) from (eval):3:in `__send__'' from (eval):3:in `manifest'' from
2009 Apr 20
11
manual access to session data outside of request?
So, given a sessionID, I have need to read and write the session stored information ''manually'', from _outside_ an actual Rails request/controller. Readers, I know your first response may be to tell me I don''t really want to do that. Trust me though, I really do, it makes sense for me in my case. I know this wouldn''t work if you''re using the new cookie
2006 Jan 23
0
gem install login_generator
I am trying to install a gem into my Dreamhost account: http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Using_gems_installed_in_your_home_directory But it doesn''t work. I don''t quite understand the error message: pico$ gem update --source http://gems.rubyonrails.com Upgrading installed gems... Updating Gem source index for: http://gems.rubyonrails.com Gems: [] updated pico$
2006 Mar 14
2
no such file to load -- login_system
I''m hoping someone can help me out here. My application works fine locally using webrick. One I upload to my shared server space I get an application error saying rails has failed to start. The log file production.log reads as follows: MissingSourceFile (no such file to load -- login_system): /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
2006 Apr 25
12
Newb Gem Install Help!
This seems newbish, but I can''t seem to get this gem to install no matter what I do. The gem in question is login_generator, and no matter what folder I put the .gem file in, it can''t read locally - am I missing something? Remote install hangs at updating the source. -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
2
gem install (Errno::EACCES)
I am finding it impossible to install a gem, and even more impossible to find help. Can anyone PLEASE help? - - - - - - - - - Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem install login_generator Attempting local installation of ''login_generator'' Local gem file not found: login_generator*.gem Attempting remote installation of
2005 Mar 28
2
using login_generator and the Cookbook tutorial
Hi All, I''ve been fooling around with the login_generator and the rolling with ruby on rails demo, but I''m jiggered if I can get the two to work together. I''ve managed to get everything installed ok, and have created the db and tables, etc. I''ve been using ruby script\generate login Recipe, and I can either the get the basic tutorial to work, or get the
2006 May 13
3
login_generator Restricting Specific Users
I have created a ''admin'' controller and all the necessary definitions and templates to delete, update and edit records and this is working OK, but how do I effectively restrict access to these defs'' from all but the admin user (called admin)? Currently I am just using if statements within the defs'' to check if it is the admin user logged in e.g; def index
2006 Jul 05
8
loginGenerator - getting logged in username
i am working on a site taht uses loginGenerator.. it''s a great little package, but i am running into one little problem.. i would like to have something that says: "logged in as <username>" in the site, but i am not quite getting it.. what i am using is: <p>You are logged in as: <%= @session[:user] %> but i have tried: <p>You are logged in as:
2005 Dec 15
2
:session_expires usage
Hi everyone, I''m new to Rails and web development. I just bought up the Agile book and I''ve got a question about the :session_expires option. In the book, page 317, it says the :session_expires "option should probably not be used." Does anyone know why? The book doesn''t explain or give any indication as to why. In an application I''m working on
2006 Aug 08
11
Newb question- method not working
I know this shouldn''t be in the view but to test the code it is. Anyway if I do just session[user] I get back the user id (the id from the user table) which is good. However this code does not work. <% a = session[:user] %> <% uname = User.find(:first, :conditions => id = a) %> <%= @uname %> TIA Stuart
2006 May 17
3
WebServices: execution expired
1 hour spent and I can''t got explanation why I have "execution expired" when I trying to test this web service: Pointed to: http://localhost:3000/news/list class NewsService < ActionWebService::Base web_service_api NewsApi def list [NewsTopic.new, NewsTopic.new] end end class NewsController < ApplicationController wsdl_service_name ''news''
2006 Apr 28
3
persistent cookies
hello, I am trying to implement a "remember be" box for logins, however I cant seem to get it to work. I have tried the following 2 methods but neither seem to work. When i check the expiry time in firefox it always says "end of session". What is the proper way to handle this so the session cookie "_session_id" doesnt expire for a year? I tried
2006 Feb 09
1
session cookie expiration
from the Agile Book, i see i can set the absolute session expiry time via: ActionController::CGIRequest::DEFAULT_SESSION_OPTIONS[:session_expires] however, I don''t see anything about what the actual default setting is when a session is created. also, is there a way to set the expiration to happen when the browser is closed? in PHP, this can be accomplished using
2006 May 04
3
error in installing login generator
hi guys, i tried to install login generator following these steps: first i open the forlder where my application is saved than writing in the commad prompt: gem install login_generator, then ruby script/generate login but it didn''t work i got this error Recognition failed for "/account%20/login" what should i do, or did i miss any step thanks -- Posted via
2006 Mar 30
5
Re: How to Password Protect a Controller
Sure, have a look to the login generator (gem install login_generator) -, then script/generate It''s very easy to use. -- Posted via http://www.ruby-forum.com/.
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and really like the RoR simplicity, but my knowledge of the framework still isn''t very good (to be true, i understand the basics, but not everything that''s in the tutorials). But still I''d like to create a website which has: - front end interface (with no edit functions) - admin interface
2006 Feb 11
2
Session ID in a cookie?
I''ve been looking around for how to store the session ID in a cookie. The "Agile Web Development with Rails" books seems to indicate that this is done by default with Rails. But I don''t see a cookie being set in my browser. (yeah, they''re enabled) I poked through the RForum code to find something referencing "cookies" but nothing came up. Does