Thufir
(Thufir)
June 10, 2007, 4:14pm
1
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 <GitHub - minutils/feed-on-feeds: Released in 2003, saw the rise and fall of Google Reader, reached perfection in 2011
, 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
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
Thufir
(Thufir)
June 10, 2007, 5:30pm
2
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" ;
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.