I have database password in my database.yml as “passw0rd” however when I
go to http://localhost:3000/rails/info/properties I get this error:
private method `gsub’ called for 1:Fixnum
But if I just use “password” for my password everything is ok.
Any ideas?
On Wednesday, March 29, 2006, at 7:36 PM, Scott F. Walter wrote:
I have database password in my database.yml as “passw0rd” however when I
go to http://localhost:3000/rails/info/properties I get this error:
private method `gsub’ called for 1:Fixnum
But if I just use “password” for my password everything is ok.
Any ideas?
What database are you using? I’ve used a similar password for both
Oracle and MySQL, and not had that problem.
–
Lori O.
http://blog.dragonsharp.com
Lori O. <devlists-rubyonrails@…> writes:
Any ideas?
What database are you using? I’ve used a similar password for both
Oracle and MySQL, and not had that problem.
–
Lori O.
http://blog.dragonsharp.com
I got the same thing. For me, it looks like it happens when it tries to
escape
the HTML. I duplicated the same error message by calling gsub on a int.
My guess
is there’s an integer in the request data somewhere?
My Error log:
C:/InstantRails/ruby/lib/ruby/1.8/cgi.rb:362:in `escapeHTML_fail_on_nil’
(Ok, it won’t let me post the rest cause it’s too long) Dumb.
Tae Kim wrote:
Lori O. <devlists-rubyonrails@…> writes:
Any ideas?
What database are you using? I’ve used a similar password for both
Oracle and MySQL, and not had that problem.
–
Lori O.
http://blog.dragonsharp.com
I got the same thing. For me, it looks like it happens when it tries to
escape
the HTML. I duplicated the same error message by calling gsub on a int.
My guess
is there’s an integer in the request data somewhere?
My Error log:
C:/InstantRails/ruby/lib/ruby/1.8/cgi.rb:362:in `escapeHTML_fail_on_nil’
(Ok, it won’t let me post the rest cause it’s too long) Dumb.
got the same error
I’m using mysql, with password sandra1.
tks for your tip.