From: Chris Lowis Date: 2007-01-18T03:36:29+09:00 Subject: Re: output to mysql db furfey@gmail.com wrote: > Hello, > > Very new to Ruby and I'm curious if this is possible.... > > I have the following code which is returning a chunk of html that I > want. > > Right now, all it does is print to the screen. Is it possible to have > the outputted chunk of html placed in a mysql db record? If so, can > anyone recommend some starting resources or examples. Try ActiveRecord it's part of Ruby on Rails : http://rubyonrails.org/api/classes/ActiveRecord/Base.html There's some good examples in the Ruby Cookbook: http://www.crummy.com/writing/RubyCookbook/ Chris -- Posted via http://www.ruby-forum.com/.