Skip to content

Monthly Archives: June 2008

rcov and rails

rcov and Rails I had the good fortune of attending Rails Conf recently on behalf of the consulting company I work for, Asynchrony Solutions. One of the topics at the great Refactotem tutorial (hosted by the guys from Relevance) was rcov, a code coverage tool for Ruby. One of the things I missed in, or […]

ruby on rails (2.0.1, 2.0.2) and oracle on FC8

Get the following rpm’s from oracle oracle-instantclient-basic-10.2.0.3-1.i386.rpm oracle-instantclient-devel-10.2.0.3-1.i386.rpm (Note: this should work fine with the newer versions as well) As root cd PATH_TO_RPMS rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm oracle-instantclient-devel-10.2.0.3-1.i386.rpm echo /usr/lib/oracle/10.2.0.3/client/lib/ > /etc/ld.so.conf.d/oracle-instant-client-i386.conf This last step, the echo, is a bit of magic. The conf files in /etc/ld.so.conf.d are run before each command is invoked to set […]

laying out sections using content_for

For the new style changes for confabulus, I made use of the content_for capabilities in rails. The currently has two sections, main and sidebar. content_for makes implementing this quite easy. In your layout file (example application.html.erb under app/views/layouts), you use a to place each of the sctions. Here I used to include my sidebar section. […]

New Layout, Contact Lists, Registration/Forgot Password Added

I just pushed out a large upgrade that I did while on Jury Duty and at Rails Conf. New features include: New design (Much cleaner and easier for me to group elements) Removed extra pages for managing cars, flights, and hotel rooms (I’m trying to keep all of the main work flow on one page. […]