Displaying 20 results from an estimated 5000 matches similar to: "SHA2 Issues"
2006 Apr 21
1
Catch authentication result from a model in a controller
Im still following the authorization recipe from the book, now all works
fine but im getting trouble in how handle the model authorization
result, if the user and pass are correct, it goes to a welcome
screen(admin.rhtml) but if wrong the model prints a message in an ugly
exception like page "usr and pass not correct", i want to redirect the
user to the login
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 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 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 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
2006 Jul 07
13
Rails Recipes Book: Authentication
Hi,
The user/login management system in Chapter 31: Authenticating Your
Users and Chapter 32: Authorizing Users with Roles of Chad Fowler''s
Rails Recipes looks reasonable and adequate. However, when I ran the
Chapter 31 code, I get the following error:
Username or password invalid
And I am not even given the chance to sign in; that is, the signin form
does not appear at all.
Has
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 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
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 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 Jul 27
2
Creating multiple objects from form data
I''m in the process of creating a sign up form for an online application.
The form collects account info, company info, and then info for an
administrative user.
The method looks like this:
def create
@account = Account.create!(params[:account])
@company = @account.companies.create!(params[:company])
@user = @company.users.create!(params[:user])
end
However, this inevitably fails
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 27
7
Role Based Authorization recipe implementation?
i got the rails recipes book, i have now an auth system for users
without problems, now i want to made a role based acces for my app, im
following the "Role Based Authorization" recipe of the book but i cant
make it to work even when the tables created and correctly added data
manually definig the roles and rights. als i dont know how to define a
right for use all the actions in a
2006 Jun 12
1
Searching People
Hello to all Rubyist and Railist ;)
I''m looking for people to start a blog-project, write about Rails and with
its related subject. Or if anyone have a blog that I can join in and write
some articles?
Greetings, Chris Dorner
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 12
2
starting WEBrick
I''m doing some testing and want to start WEBrick as a daemon on my RHEL 4
server. How can I start this to run as a daemon from the command line so
that I can close my ssh session and leave WEBrick running?
Thanks,
David
2006 Aug 07
8
Login form question
I''m using Rails Recipes to create a login form but instead of username
and password, my setup is firstname, lastname, password.
I seemed to be gramatically challenged and not sure how to set up the
parameter list. Can anyone offer up a suggestion.
The book shows the method starting like:
if request.post?
user = User.find(:first, :conditions => [''username = ?'' ,
2002 Sep 02
1
File types and performance
Hello,
I am wondering if Samba cares what types of files you are putting onto
the server and if this effects the performance of the server. Attempts
to copy various file types to my Samba 2.2.5 RH7.3 server have given
mixed results. I appreciate any help on this matter. Thank you.
Sincerely,
Robert Dempsey
Atlantic Dominion Solutions
2006 Aug 16
5
validation on methods that aren''t part of the database.
using the Rails Recipes book, i went through the tutorial on setting up
authentication on a site. the tutorial was great, but it raises a few
questions.
the fields in the database are password_hash, and password_salt. the
tutorial creates another method for password that takes the value it was
given and hashes it and adds the 6 character salt at the end.
what if i want to perform validation
2006 Aug 07
1
Help please: database column not taking
I created a simple registration form. One column doesn''t seem to be
taking the input. I''ve yet to put in any validation or error
checking.
The column in the database is called ''level'' and is type ''int''
The controller method is fairly simple:
def register
c = User.new(params[:user])
c.save
redirect_to :controller =>
2006 Jul 17
19
updating model
hello,
i am writing a simple user login system.
when registering a user account, i have two field:
password
password_confirmation
which are validated using
validates_presence_of
validates_confirmation_of
and these are then used to generate a password hash which is stored in
my database
when i want to update the record (without changing the password and
entering new values for password and