I just tried setting up a simple Rails app, after updating to the 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and WEBrick started fine with script/server. I then went to 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/rails/info.rb:53:in `each'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:53:in `to_html'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in `returning'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in `to_html'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info_controller.rb:5:in `properties'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in `send'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in `perform_action_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/filters.rb:355:in `perform_action_without_benchmark'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in `measure'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/rescue.rb:82:in `perform_action'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:378:in `send'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:378:in `process_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/filters.rb:364:in `process_without_session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/session_management.rb:117:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/dispatcher.rb:38:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:115:in `handle_dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:81:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:144:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:94:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:89:in `each'' /usr/lib/ruby/1.8/webrick/server.rb:89:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:67:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/commands/servers/webrick.rb:59 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_support/dependencies.rb:149:in `require'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/commands/server.rb:34 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_support/dependencies.rb:149:in `require'' script/server:3 I''m not sure where to look to track this down. Any suggestions? Thanks!
John Tsombakos
2006-Mar-23 05:23 UTC
[Rails] Re: Error with Rails 1.1RC1 and Properties page
Some more info.... With a new, empty rails (1.1rc1) project, clicking the properties link works fine. Just my test app with the default scaffold code. (I''m using a sqlite db, on OS X, btw) jt On 3/23/06, John Tsombakos <johnt519@gmail.com> wrote:> I just tried setting up a simple Rails app, after updating to the > 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and > WEBrick started fine with script/server. > > I then went to 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/rails/info.rb:53:in > `each'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:53:in > `to_html'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in > `returning'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info.rb:52:in > `to_html'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/builtin/rails_info/rails/info_controller.rb:5:in > `properties'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in > `send'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:908:in > `perform_action_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/filters.rb:355:in > `perform_action_without_benchmark'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in > `measure'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/rescue.rb:82:in > `perform_action'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:378:in > `send'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/base.rb:378:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/filters.rb:364:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2.4008/lib/action_controller/session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/dispatcher.rb:38:in `dispatch'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:115:in > `handle_dispatch'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:81:in > `service'' > /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > /usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' > /usr/lib/ruby/1.8/webrick/server.rb:144:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' > /usr/lib/ruby/1.8/webrick/server.rb:94:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:89:in `each'' > /usr/lib/ruby/1.8/webrick/server.rb:89:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/webrick_server.rb:67:in > `dispatch'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/commands/servers/webrick.rb:59 > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_support/dependencies.rb:149:in > `require'' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0.4008/lib/commands/server.rb:34 > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_support/dependencies.rb:149:in > `require'' > script/server:3 > > I''m not sure where to look to track this down. > > Any suggestions? > > Thanks! >
John Tsombakos
2006-Mar-26 16:28 UTC
[Rails] Re: Error with Rails 1.1RC1 and Properties page
John Tsombakos wrote:> I just tried setting up a simple Rails app, after updating to the > 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and > WEBrick started fine with script/server. > > I then went to 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/..Uhhh... anyone have an idea? I''d like to make sure something in my Rails install isn''t broken. Thanks john -- Posted via http://www.ruby-forum.com/.
David Thomson
2006-Mar-26 17:00 UTC
[Rails] Re: Error with Rails 1.1RC1 and Properties page
I see this too, and filed a ticket: http://dev.rubyonrails.org/ticket/4370 It doesn''t affect anything else, however, and script/about works fine. Best, David On 26/03/06, John Tsombakos <johnts@charter.net> wrote:> John Tsombakos wrote: > > I just tried setting up a simple Rails app, after updating to the > > 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and > > WEBrick started fine with script/server. > > > > I then went to 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/.. > > > Uhhh... anyone have an idea? I''d like to make sure something in my Rails > install isn''t broken. > > > Thanks > > john > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
John Tsombakos
2006-Mar-26 22:30 UTC
[Rails] Re: Error with Rails 1.1RC1 and Properties page
Cool, thanks! Good catch with the connection with the schema_info table. Didn''t even know about script/about! jt On 3/26/06, David Thomson <ceedwlt@gmail.com> wrote:> I see this too, and filed a ticket: http://dev.rubyonrails.org/ticket/4370 > > It doesn''t affect anything else, however, and script/about works fine. > > Best, > David > > On 26/03/06, John Tsombakos <johnts@charter.net> wrote: > > John Tsombakos wrote: > > > I just tried setting up a simple Rails app, after updating to the > > > 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and > > > WEBrick started fine with script/server. > > > > > > I then went to 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/.. > > > > > > Uhhh... anyone have an idea? I''d like to make sure something in my Rails > > install isn''t broken. > > > > > > Thanks > > > > john > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >