getting started with a legacy database

It's been a few weeks, at least, since I've touched ruby. The plateau I'm at is that I can view a list of dummy data through firefox, that is, the dummy database is succesfully configured. However, configuring <http://code.google.com/p/feed-on-feeds/

, which is anti-RoR, seems insurmountable.

I don't at all mind a RTFM pointer, in fact it'd probably be helpful, but I've yet to find a manual which I can follow along with on this topic. So, any pointers as to how to break down the ORM mapping into bite size chunks would be greatly appreadiated :slight_smile:

The schema for FoF in fact isn't too bad, it's really just two tables. Would that mean two ruby objects? If so, where would the ruby objects be defined? Each object would have the fields in the corresponding tables?

thanks,

Thufir

Forgot to include where I've gotten to so far:

[thufir@localhost ~]$ ./ruby.txt

Sun Jun 10 09:30:46 BST 2007 /home/thufir thufir Fedora Core release 6 (Zod) echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo ""

date pwd whoami cat /etc/fedora-release cat /home/thufir/ruby.txt

echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo ""

echo "the database configuration file" cat /home/thufir/dummy/config/database.yml

echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" #echo "rails dummy..." #rails dummy

echo "" echo "" echo "" #echo "ruby /home/thufir/dummy/script/generate controller hello..." ruby /home/thufir/dummy/script/generate controller hello

echo "" echo "" echo "" echo "hello world" > /home/thufir/dummy/app/views/hello/index.rhtml

echo "" echo "" echo "" #echo "ruby /home/thufir/dummy/script/generate scaffold dummy..." ruby /home/thufir/dummy/script/generate scaffold dummy

echo "" echo "" echo "" #echo "ruby script/server..."

echo "http://localhost:3000/dummies/list&quot;

echo "" echo "" echo "" echo ""

ruby /home/thufir/dummy/script/server

the database configuration file # MySQL (default setup). Versions 4.1 and 5.0 are recommended.