Displaying 20 results from an estimated 11000 matches similar to: "undefined method `crypted_password='' while using Sentry"
2006 Mar 25
0
[Sentry]-before_validation(model) not working for crypted-attribute?
I am still trying to get sentry working to encrypt a couple of
attributes in the model. One of them is a password field and the other
ssn#.
I have crypted_password and crypted_ssn in the db.
In addition, I also have validates_uniqueness_of :ssn
Here is the problem... I get the error
MysqlError: Unknown column ''ssn'' in ''where clause'': SELECT * FROM
students
2007 Aug 19
0
Sentry plugin causing migration to fail
I have an application that uses the Sentry plug-in. I am using Sentry
on my Users model for encrypting passwords. It works fine inside the
application, but whenever I call User.create in my migration (in order
to set-up a default user) I get the following error when I run the
migrations:
rake aborted!
undefined method `symmetrically_encrypts'' for User:Class
Has anyone experienced this
1998 May 27
0
Updated: Sentry Port Scan Detector 0.60
Hello,
I would normally not write this list to announce an update to a software
package, however there have been a number of very significant changes to
this program that users of it may want to upgrade and new users may want
to check out.
What it is
=-=-=-=-=-
Sentry is a port scan detector for Linux, *BSD, and most UNIX variants.
What it does
=-=-=-=-=-=-
Sentry monitors your systems for
2006 Jan 10
0
Changing scaffold''s text_field to a password_field causes white screen of death in mozilla?
I had posted earlier about ''silent failure of a controller'', what seemed to
be an intractable problem where I was getting failure of a particular action
in a controller while others worked. What was irritating was that there were
no useful messages. Nothing to the browser, nothing in logs, and even the
breakpoints wouldn''t hit. Finally by a process of elemination I found
2009 Nov 14
3
authlogic fails on existing accounts when crypted_password is blank
I recently ran a migration to add the following to an existing user
model:
t.string "crypted_password"
t.string "password_salt"
t.string "persistence_token"
There is an existing (cleartext) password field, but authlogic doesn''t
seem to be reading that on existing accounts. As a result, all logins
for existing accounts fail.
How can I get
1997 Dec 05
3
New Program: Abacus Sentry - Port Scan Detector
Hello,
I just made available a beta version of a port scan detector that I''ve
been working on. The program, called Abacus Sentry, is a port scan/probe
detector that offers what I think are a number of unique and useful
features:
- Runs on TCP or UDP sockets. Configurable by the user to bind to
multiples of sockets for increased detection coverage.
- Adjustable scan detection value with
2006 Jun 16
5
[slightly OT] Problem with subversion 1.3.1 on OSX Tiger
I have a subversion repo on a Debian Sarge server. I do rails
development on two Debian workstations (home, work) and also a
MacBookPro.
I installed subversion from Darwinports. Things worked ok for a while
and I did commits from and updates to all three machines until today.
When I did svn status I noticed a lock on the working dir.
$ svn status
? Rakefile
? readme
! L .
.... etc
I cannot
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2006 Apr 23
4
Ruby, Rails & Linux - Which distro
Did I sound like our President? :)
<spin>
I didn''t explain myself well. I am not thinking of buying the
identically equipped PC laptop either at the same price.
If I had a $2500-$3000 budget (laptop, Applecare + case etc) I might
consider the Mac, but then in the PC laptop universe there are more
options of going with the slower processors (T2300 or T2400) for about
$1,000 less
2009 Nov 09
4
Decrypt a admin password (with salt)
Hello,
I want decrypt a password which is encrypted by MD5.
there are 4 functions which i am using :
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{salt}--#{password}--")
end
# Encrypts the password with the user salt
def encrypt(password)
self.class.encrypt(password, salt)
end
def authenticated?(password)
2006 Feb 08
0
subversion AND gem rails howto?
I have been using rails on Debian Sarge since May of last year. I initially
gem installed rails as root and since then I have been gem updating the
installation. I have had no trouble with the installation or development.
Now feel that I''d like to use svn to get edgerails to be able to use nifty
features such as RJS. Some of the threads on the subject talk about
svn:externals in the
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ...
subversion/libsvn_wc/log.c:338: (apr_err=155009)
svn: In directory ''sr''
subversion/libsvn_subr/io.c:565: (apr_err=2)
svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to
''sr/README.tmp'': No such file or directory
Any one getting this? TIA for any help.
2006 Apr 12
5
SPAM on rails-list
This is a high traffic list as it is and it is really annoying to see
that SPAM is on the rise here.
I wonder how they can spam the list since each user has to be
authenticated. Do spammers go through the trouble of subscribing to
the list? In any case, this msg is to the list admin...could you
please do whatever it takes to filter this stuff out?
Thank you very much.
-bakki
2006 Jun 16
0
FW: Ajax used for the Yamanner virus
Just in case you didn''t hear about this.
---------- Forwarded message ----------
From: Babu, Shaurya <Shaurya.Babu@qwest.com>
Date: Jun 16, 2006 8:53 AM
Subject: FW: Ajax used for the Yamanner virus
To: Bakki Kudva <bakki.kudva@gmail.com>
FYI
_____________________________________________
Hi Guys,
A first! for the pitfalls of Ajax, if used indiscriminately:
2006 Jan 10
7
Can only render or redirect once per action - why?
I ran into this error message a quite a few times since my app requires
branching to different pages from the same action... say using a switch
statement. Ofcourse I found that you can use multiple redirects or renders
if you do
render :action => ''new'' and return false
I hate to code something I don''t understand fully. Any explanation of this
will be greatly
2006 May 26
4
shouldn''t this work? - session[:array_of_objects].delete_if {|x| x.id == params[:id]}
I am saving an array of active record objects (college courses) in the
session as session[:course_list]. This is the cart for a registration
controller.
If a student chooses to delete the course from the list I get the :id
as params[:id].
However if I do
session[:course_list].delete_if {|x| x.id ==params[:id]}
does not work.
session[:course_list].delete_at(idx)
works. Ocourse to do this I have
2007 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello,
I''ve been trying to get my head around ferret and the one thing that
stumps me is how I might use Drb on a dedicated server with multiple
clients using the SAME application but each with their own private
database and other file assets (in an uploads directory within the
app)
Thank you for any suggestions, pointer etc.
Also I''d be very interested in hearing from those
2006 May 19
6
rmagick->X11 on MacTel Howto?
I needed to install rmagick/GraphicsMagick on an IntelMac and did so
from Darwinports. Some things work and others don''t work, like
rendering fonts which needs X11 fonts and X server. The rmagick page
at rubyforge points to ..
http://developer.apple.com/opensource/tools/runningx11.html
where X11 link to Apple is broken.
X11User.pkg talked about on the page above no longer exists at
2006 Jan 05
1
Action fails silently - breakpoint doesn''t hit
I have a simple user registration controller with scaffold code. The
only change I made to the view is to add a second password field for
confirmation. I do have a db table called users with all the fields
except ofcourse the extra password field. The field has a different name
so it does not get into the user hash. The ''user.new'' action works fine
and displays the form. The
2007 Aug 08
1
autocomplete field in ajax response html - css does not get applied.
Hi all,
I have a page in which a div is updated with some html via Ajax. The
returned html contains an autocomplete field. The autocomplete field
works but the drop down results div does not get css applied to it so the
selections don''t get highlighted when I use the up/down arrows and so
I am unable to select from the drop down except for the first item. I
have been looking at this in