Displaying 2 results from an estimated 2 matches for "escapehtml_fail_on_nil".
2006 Mar 29
5
Database passwords with numbers
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?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
...the http://localhost:3000 page and clicked on the
"About your application''s environment" link, and an error was
displayed:
NoMethodError in Rails/info#properties
private method `gsub'' called for 1:Fixnum
RAILS_ROOT: script/../config/..
/usr/lib/ruby/1.8/cgi.rb:362:in `escapeHTML_fail_on_nil''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/cgi_ext/cgi_ext.rb:13:in
`escapeHTML''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:55:in
`to_html''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/ra...