Displaying 1 result from an estimated 1 matches for "numberslink".
Did you mean:
numberline
2006 May 03
6
ActiveRecord and Lost Connection
...ter => "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 = "http://www.yahoo.com"
link.url_title = "The Title"
link.created_on = Time.now
if link.save...