Displaying 20 results from an estimated 3000 matches similar to: "ActionController::HttpAuthentication and MySQL"
2007 Jul 21
3
manging rescues
What''s the recommended way to catch errors like this:
NoMethodError in Register#confirm
Showing app/views/register/confirm.rhtml where line #4 raised:
undefined method `namen'' for nil:NilClass
I get this error when someone does somethinh like:
http://.........../register/confirm?email=jkdsfadslkjflksd
If I make:
remail = params[:email]
@user = Request.find(:first,
2006 Aug 06
10
editor recommendation
Hello lsit,
I''am new to rails (about 2 hours) and after the first lines of code
I must say: Great! I love it!
Can someone recommend me a editor? I run Ubuntu Dapper.
Th?ngs
--
Jochen Kaechelin, fvgi242ss, wlanhacking.de
http://mail.wlanhacking.de/cgi-bin/mailman/listinfo
http://www.gissmoh.de - Mein sonstiges Leben!!
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
2007 Jun 20
3
hover and displaying divs
Please take a look at:
http://www.lovelybooks.de/library/index.html?resetTabs=1&resetList=1
Can someone give me a hint how to display the divs (?) when moving
the mousepointer over the images?
Thanx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this
2008 Jan 02
5
polymorphic assosciations - still the way in Rails 2.0.x
I store a lot of information concerning blogs, events, books, bla
bla...
So I have a lot of database tables including the same fields: url,
user_id, subject, comment.....
So I decided to use polymorphic assosciations.
Is this still the prefered way in 2.0.x or does Rails 2.0.x offers me
a easier, faster and more preferable way to do this?
By the way, isn''t it much easier to do all the
2002 Jul 29
2
--password-file switch
How can I use the --password-file switch with rsync in order not to
be promted for the users password so I can run rsync in a cronjob?
rsync -uavrpog -e ssh /www root@domain.tld:/DESTINATION/`date +%A`
--password-file=/quellen/RSYNC_PASSWD
does not work!
I always get a prompt to enter users root password!
--
Jochen Kaechelin
2007 May 28
2
out-cheat validates_uniqueness_of
before_save :strip_strings
validates_uniqueness_of :username
validates_presence_of :username
private
def strip_strings
self.username = username.gsub!(" ","")
end
example:
username = " gissmoh-/upiLifMog2ELgA04lAiVw@public.gmane.org "
becomes gissmoh-/upiLifMog2ELgA04lAiVw@public.gmane.org
and is stored in the
2008 Feb 04
3
backup strategy
what's the prefered way to backup users mail?
i use doevcot shipping with debian/etch an maildir.
thanx
--
jochen
2007 Jun 06
1
"selected" in form.select
I have a search form in my navbar where a user can select in which
area he wants to search. After clicking the submit-button the
results get rendered but the previous selected area is no longer
selected.
<%= form.select (:suchfeld,
[ [''Beschreibungen'',''description''],
[''Headlines'',''headline'']] )
%>
I was able to
2006 Aug 18
3
RoR logo on own webpage
Hello,
are there any restrictions in using the RoR logo on my own homepage?
Something like: powered by Ruby on Rails ..__logo__..
--
Jochen
2003 Dec 02
1
password reset on NT
Hello,
I'd like to do the following:
We have a NT domain, built as usually (PDC, BDC).
Now we want to set passwords of normal NT user accounts -
but from outside the windows world. Esp. we need a
client on Unix (e.g. Solaris) which is able to set / reset
NT passwords.
This means: The NT administrator (or someone with
administrative privileges in the NT domain) wants to set the
NT password
2011 Nov 03
0
Kolmogorov-Smirnov-Test on binned data, I guess gumbel-distributed data
Hi R-Users,
I read some texts related to KS-tests. Most of those authors stated, that
KS-Tests are not suitable for binned data, but some of them refer to 'other'
authors who are claiming that KS-Tests are okay for binned data.
I searched for sources and can't find examples which approve that it is okay
to use KS-Tests for binned data - do you have any links to articles or
2001 Nov 02
3
su/sudo using ssh auth
To the openssh and sudo developer mailing lists:
Ssh has a key agent allowing authentication to remote hosts without
entering your password/passphrase again and again, which is very
convenient. I think the 'su', 'sudo', and similiar commands could benefit
from this idea and mechanism. I don't have the necessary expertise in
cryptology to do this myself so I just want to throw
2004 Nov 23
1
problems with my first wine-steps
Hello,
I installed wine-20041019 with the wineinstall-script on debian (woody).
(There is a windows98SE on /mnt/win. /mnt/win is mounted)
Now I try to run freecell.exe, but it doesn't work.
jochen@archie:~$ wine 'c:\windows\freecell.exe'
Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
to set the screen resolution and remove the "Resolution" entry
2011 May 25
1
[LLVMdev] ms vc 10 warnings
Hi!
when compiling projects using llvm 2.9 and ms vc 10 I get these warnings:
1>e:\Jochen\Lib\lib\include\llvm/Use.h(218): warning C4624:
'llvm::AugmentedUse' : destructor could not be generated because a base
class destructor is inaccessible
1>C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\stdint.h(72): warning C4005: 'INT8_MIN' : macro redefinition
2010 Jul 20
2
[LLVMdev] [cfe-dev] conditional operator
Hello Jochen-
Your expectation is incorrect, I'm afraid. Typically this would be expanded
to something like this:
…
%cmp = …
br i1 %cmp, label %ternary.true, label %ternary.false
ternary.true:
%truevalue = …
br label %ternary.end
ternary.false:
%falsevalue = …
br label %ternary.end
ternary.end:
%value = phi %type [%truevalue, %ternary.true], [%falsevalue,
2005 Feb 08
1
User Migration question
Hello,
I would like to migrate my user-accounts from a Samba 2 to a Samba 3
setup.
Old Setup:
Samba 2 with PAM support. PAM uses LDAP to store PosixAccounts
New Setup:
Samba 3 with "native" LDAP. PosixAccounts are already migrated to my new
LDAP server.
I tried pdbedit with my old smbpasswd file:
---snip---
# pdbedit -i smbpasswd:./smbpasswd
build_sam_account: smbpasswd database
2007 Mar 17
1
err:ole:CoGetClassObject class ...
Hello,
I still have no clue what to do.
jochen@rod:~$ wine .wine/drive_c/Programme/SchILD-NRW/SCHILD2000.exe
Invoking /usr/lib/wine/wine.bin .wine/drive_c/Programme/SchILD-NRW/SCHILD2000.exe ...
err:ole:CoGetClassObject class {00000507-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:create_server class {00000507-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no
2010 Mar 05
0
[LLVMdev] folding x * 0 = 0
Hi Jochen,
I just wanted to point out that if x = inf the result of x * 0 is in
indeterminate form so reducing it to zero would give the wrong result in
that case.
Thanks,
Javier
On 3/3/2010 8:56 AM, Jochen Wilhelmy wrote:
> Hi!
>
>
>
>> sin/cos etc should already be handled by lib/Analysis/ConstantFolding.cpp.
>>
>>
> Thanks for the hint and it
2012 Mar 02
0
[LLVMdev] replace hardcoded function names by intrinsics
On Fri, 02 Mar 2012 13:55:18 +0100
Jochen Wilhelmy <jochen.wilhelmy at googlemail.com> wrote:
> Hi!
>
> in the llvm code there are several places with hardcoded function
> names for e.g. sin, sinf, sqrt, sqrtf etc., namely
> ConstantFolding.cpp
> InlineCost.cpp
> SelectionDAGBuilder.cpp
> IntrinsicLowering.cpp
> TargetLowering.cpp
>
> my question is: