search for: botverse_develop

Displaying 1 result from an estimated 1 matches for "botverse_develop".

2006 May 03
6
ActiveRecord and Lost Connection
...uot;#{msg}\n" end; end ActiveRecord::Base.logger = Logger.new(STDOUT) ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :username => "USER_NAME", :password => "PASSWORD", :database => "botverse_development" ) @logger = Logger.new(STDOUT) ## Continue ## Active Record Class setup --------------- class NumbersLink < ActiveRecord::Base end ## ## Main Entry Point ## def ruby_main @logger.info "Connecting." # Create a dummy record link = NumbersLink.new() link.main_url =...