similar to: newbie q: acts as authenticated or login engine?

Displaying 20 results from an estimated 10000 matches similar to: "newbie q: acts as authenticated or login engine?"

2006 Aug 12
7
Redirect back to last page?
I have a few pages where a user may do something (add tags, login, etc) and I would like to redirect them back to the last page they were at before calling that action. Is there an easy way to do this? -- Posted via http://www.ruby-forum.com/.
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi. This is the error I''m getting when I try to start Lighttpd : ============ [getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start Starting Lighttpd 2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for: /home/getcapture/application/public/dispatch.fcgi No such file or directory [getcapture@alpha getcapture]$
2005 Dec 14
9
Passing quantity in a shopping cart
I am using this line on my index.rhtml page to capture the quantity required of a particular item for a basic shopping cart app: <%= text_field ''line_item'', ''quantity'', {:size=>3} %> </td> but my next screen (a cart screen) doesn''t reflect what was entered in that text field when the item is added to the cart. That is,
2006 Apr 25
7
undefined method form_for ?
Seems the only issues I ever have with Rails are these bizarre fiddly little things that make no sense. Can''t for the life of me understand why I''m getting undefined method on form_for in a view? And it''s actually part of the acts_as_authenticated plugin that''s doing it. But how can it not know about form_for? -- Posted via http://www.ruby-forum.com/.
2006 Jan 29
15
Reload the lib directory
Im writing a module in the lib directory. If I change the module, the changes are not visible to the application when i releod the web page (i am in the development evironment). I must restart the web server (WEBrick) and so i see the changes... but I lost more time. How can I reload the module in the dirictory lib, without reload WEBrick? Thanks so much --Reis -- Posted via
2006 Apr 17
2
newbie before_filter question
I''ve successfully gotten acts_as_authenticated working. Currently the before_filter line for my admin screen is like this: class AdminController < ApplicationController include AuthenticatedSystem before_filter :login_required Only issue I have now is that anyone logged in can access that screen. I''d like to differentiate between a regular user and
2006 Apr 28
2
["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys, has anyone here implemented role based authorization from rails recipes into acts_as_authenticated ? how''s it going? Case: there is ONE admin. And MANY users. Admin is the only one who can create, edit, delete user, etc.. users also need to login, but go to different pages. do you guys think it''s good to try rick''s acts_as_authenticated + chad''s
2006 Aug 16
3
Easiest way to create a google map mashup?
I wanted to add a mash up to my website and was wondering if there were any recommendations? I saw that there is a cartographer plugin (http://cartographer.rubyforge.org/) and also something else called YM4R (http://wiki.rubyonrails.org/rails/pages/YM4R). I have no idea if they are up to date or not or whether this is currently the easiest/best way to go about it short of rolling your own.
2006 Apr 22
7
Expiring items
In my database I have a products table that has a bunch of attributes (title, description, etc) including one for date_expires. Is there a best practices method to get the database to erase the expired items? Is that done outside RoR via Cron or something? Else is it better to just have my app filter out anything that is expired but still keep those records in my dbase? -- Posted via
2005 Dec 04
10
web server q -- playing nice w/ PHP
I have a webserver that''s happily running apache2 and PHP. I''d like to deploy a site that I wrote using RoR on that same server but read that there might be some conflicts with PHP and RoR trying to access the same MySQL database. How real are those conflicts? Could I mess up my running PHP site if I install mod_ruby and try to use Apache2? Would I be better off
2005 Dec 12
7
Calling absolute links
I have a primary layout that I''m using in several controllers. On my sidebar I have a link that I set up as follows: <div id="sidebar"> <%= link_to("Items", :action => "list") %> </div> Everything is ok when I call it from my primary controller, but since I am also calling the layout from a second controller that does
2007 Sep 23
16
WinRuby?
Hi all, With the latest 1.8.6 release out today, I was wondering - what would you all think of a Windows-only fork of Ruby? I mean Perl has ActiveState, right? It ships with a slightly different interpreter and different libraries, so why not Ruby? Here''s what I''m thinking: * Win2k or later. No 95/98/ME support. No cygwin/mingw, either. * Assume VC++ 8. Use whatever
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi, I''ve got AAA loaded and working. I now want to put a smarter login form on the sidebar of my site. If the user is not logged in, I''d like to display a typical form in the sidebar that collects the user ID/password and allows the user to login. If the user is logged in, the box should display something like ''Logged in user: FirstName Lastname'' and a
2006 Aug 24
26
mongrel logging on win32 platform and win32 service
Hi All I am using version 0.3.13.3 and since there is no logging support for win32 application. I was wondering if it was possible to get any kind of logging at all. I have tried to these two options 1. Stream redirection using "mongrel_rails start -c C:/myspace/snapshot -p 4111 -t 70 -e production -P log/mongrel-1.pid > C:\temp\mongrel-1.log" The console print the output stream
2007 Jul 11
3
Problem with Acts as Authenticated not able to logout
Hi all, i installed Act_as_Authenticated plugin yesterday, everything seems fine: trying out the index, divert me to the login screen, i register and login. but when i try http://localhost:3000/account/logout, it didn''t work, after the action been executed, it takes me back to the index as i m logged in. i try to clean the localhost cookie from my firefox, and delete those files in the
2006 May 08
1
newbie: Login/Logout in view
I am using the acts_as_authenticated plugin to manage logging in/logging out. There are a few controllers, such as search, that I don''t mind people accessing regardless of whether they are logged in or logged out. My current view just has some static links on the left that say Login and Logout. How should I set it up so that it says Login when not logged in and log out when logged
2006 May 10
2
newbie q on displaying a db field value in the view
My layout calls a few links like so: <%= link_to ''| Home '', :controller => ''search'', :action => ''''%> <%= link_to ''| Search '', :controller => ''search'', :action => ''''%> I would also like to display two values from my user table in the same layout right after the
2006 Jun 02
2
State of the Art in Login?
Hi folks, I''ve got an older project I''ve used LoginGenerator for. It works pretty well, but lacks password resetting, etc. Now I''ve got a new project for a client that''s going to need login capabilities as well. I''ve been looking at the Salted Login Generator and the Login Engine, and have taken quick stabs at running through the installation
2015 Nov 16
1
[PATCH] fifo/gk104: fix engine status register offset
The offset should be 8 on Kepler and later. Signed-off-by: Vince Hsu <vinceh at nvidia.com> --- drm/nouveau/nvkm/engine/fifo/gk104.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi, According to the header[1] the offset for engine status register is 8. [1] https://github.com/kfractal/nouveau/blob/hwref/drm/nouveau/include/nvkm/hwref/gk104/fifo.h Thanks, Vince diff --git
2006 Jan 18
2
categories/recipes & books/descriptions - has_many vs has_one => id question
People, In the cookbook eg, categories has_many recipes but in a book eg, book has_one description - doesn''t that mean that the id of the description should be the same as the id of the book (instead of having it''s own "description_id" in the book table? Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney