similar to: login generator

Displaying 20 results from an estimated 4000 matches similar to: "login generator"

2006 Feb 21
0
acl_system plugin first look
Friends- Here is another plugin hot off the presses of the three day weekend ;) Its a role based authorization system. I have been talking with Bill Katz about this system so it ties in with his recent announcement as well. Its just my implementation. Its an acl/role type system that can sit on top of the acts_as_authenticated login system or any login system that implements a few
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 Mar 22
2
Edge Rails (1.1.0 RC1) and Typo Trunk
I tried the current Typo trunk with Edge Rails (1.1.0 RC1) and ran into the following problems: 1) /public/../config/environment.rb:107: undefined method `enable_upload_progress'' for ActionController::Base:Class (NoMethodError). I commented this line out and installed the Upload Progress plugin and this problem _appears_ to have gone away. 2) The second problem I
2006 May 26
2
Rails app fails to start with LoginGenerator
Hi guys I was following this: <a href="http://wiki.rubyonrails.com/rails/pages/LoginGenerator">tutorial</a> and everything was perfect until I run the script. I''ve got: <strong>MissingSourceFile</strong><br /> no such file to load -- user.rb <br /> RAILS_ROOT: script/../config/.. <br /> <pre><code>
2000 Apr 05
2
My first R-program
Sorry, I pasted the wrong file in earlier... this is the correct one: pValCalculator(b, n=20, m=20) { ind <- 1:min(c(n,m)) prob <- (1-pnorm(b,sd=std*sqrt(ind))) prob1 <- sum((n-ind+1)*(m-ind+1)*prob) prob1 } inputData <- scan("/users/lvssso/projects/LAMA/output/pValLamaScore.tmp", list(block1 = "",block2 = "",width1 = 0,width2 = 0,alignment = 0,score
2006 Jun 01
3
how can i redirect a person after a login
i built my own login system, but unfortunately, i am having problems (ie, can''t really figure out how) to redirect a person back to the page he was requesting before logging in...say, as the admin i want to edit a certain message/logo, whatever, so i click on it, and i get redirected to my login page. after the admin logs in, he gets redirected to the homepage - i couldn''t
2007 Mar 13
0
aliasing, require_dependency and require
I''d really appreciate it if someone [with a decent understanding of the rails Dependencies mechanism] could help me explain the behaviour seen in this pastie. http://pastie.caboo.se/46630 The desired behaviour is simply aliasing a method in ApplicationController from a plugin while retaining automatic reloading in dev mode. The pastie is basically divided into 4 parts: - Setup of
2008 Nov 03
1
concerned_with, and maybe require_dependency issues only when running specs?
Hi all, So in the interests of keeping a few areas of my code a bit under control, I''ve been investigating the concept of "concerned_with" as described here: http://paulbarry.com/articles/2008/08/30/concerned-with-skinny-controller-skinny-model Basically allowing me to have: /app/models/user.rb class User < ActiveRecord::Base concerned_with :something end
2008 Feb 11
3
[PATCH 1/5] Change vsmp compile dependency
Change Makefile so vsmp_64.o object is dependent on PARAVIRT, rather than X86_VSMP Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ravikiran Thirumalai <kiran@scalemp.com> Acked-by: Shai Fultheim <shai@scalemp.com> --- arch/x86/kernel/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/Makefile
2006 May 14
3
hi all
Not much I can say except that I am very excited to enter this new world(solely for me of course, kind of late) of rubyonrails.If anyone has any patience or just plain kindness to help me on my first steps (leaps?) , I would greatly appreciate any links, references, tips, hellos, or whatever else is offered. Thanks ahead of time, Shai Rosenfeld Octava I -------------- next part
2006 Jul 16
9
acl_system help is needed
i found Ezra''s acl_system plugin yesterday and i am trying to figure it out. based on the simple instructions on the site, it does exactly what i need but i''m getting some errors when i try to use it: NoMethodError in UsersController#index You have a nil object when you didn''t expect it! The error occured while evaluating nil.roles i am pretty new to rails and
2000 Apr 05
0
My first R program
Hi, Sorry to bother you guys with this syntax problem, this is my first R program, and I seem to not have grasped something right. I keep getting an error message from 'parse' on the line with the *** : pValCalculator(b, n=20, m=20) { ind <- 1:min(c(n,m)) prob <- (1-pnorm(b,sd=std*sqrt(ind))) prob1 <- sum((n-ind+1)*(m-ind+1)*prob) prob1 } inputData <-
2000 Apr 05
1
Working with R batch
Hi all, I'm trying to invoke R from a perl program, using R BATCH. My original R program wrote an output to a file and plotted a graph. I'm having problems with the following three things: 1) To get the output file name form the perl program I wrote the following, in my R program: commandArguments <- commandArgs(); outputFile <- commandArguments[length(commandArguments)]; This
2007 Feb 05
3
rsync 3.0.0cvs timeout
Hi, When I send this command, I get a timeout almost every time... --- this is the client side --- rsync -av --timeout 120 /home/bat/20070205_0501/log/sync_dns29_log /home/bat/20070205_0501/log/sync_dns29_serial /home/bat/20070205_0501/log/sync_dns29_tcpdump_log.gz --port 5873 fileserver::test/20070205_0501/log sending incremental file list sync_dns29_log sync_dns29_serial
2006 Jul 13
2
partial_counter
Hi, i was wondering if there was any conventional way to find out (via the partialname_counter, or any other way) which partial is the last in a set of partials ( render :partial => ''name'', :collection => ''@somethings'') so that i can display some kind of variable in the last partial. there''s got to be some neat way to do this? (like setting
2005 Sep 27
5
Am I misunderstanding "require_dependency"?
Hi From what I understand about documentation about require_dependency, this function will work like require but the file will be reloaded on every request to the server when in development mode. I have bootstrapped am minimal RoR project with 0.13.1 Rails. I have created a minimal Controller and hooked up it''s "index" action at the site root. I have also created a
2006 Feb 09
0
Extending ActiveRecord creates TypeError
Hi. I have want to use the following arrangement: Model < CustomClass < ActiveRecord::Base My CustomClass has a bunch of code I want to be held in common to all my models. What happens however is that if I access a controller that uses Model, it works. Then on the second view (hitting reload) I always get: TypeError (superclass mismatch for class User):
2006 Jun 19
0
logingenerator multiple select
hi, ..i''ve just finished installing the login generator and acl system from http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem (sql sctructure of a habtam relationship of roles//users, roles//permissions and so, being able to asign roles[with the associated permissions]to the users..) anyway, now i need to implement associating the correct permissions for the correct
2005 Nov 23
1
How to set flash for before_filter :login_system ?
Hello all, I''m using Login Generator ACL System<http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem> I want to know if there is a way to set the flash(:notice) before the before_filter is processed so that the flash() is available on my login page ? IE: "regular" user changes URL to an "admin" page, then I want the login''s flash to say
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem with the access_denied method in Ezra''s ACL access control plugin. It''s working fine (in conjunction with acts_as_authenticated) until it comes across a user it denies access to, in which case it throws the following error: NoMethodError in Admin#index protected method