search for: brianlin

Displaying 5 results from an estimated 5 matches for "brianlin".

2006 Jan 23
6
Code coverage tools in Ruby?
Can anyone help me find a code coverage tool in ruby? What I want is: given a set of tests that I run, what lines of my code and what routines are covered. And also a list of uncovered routines and tests. I couldn''t find an open source one out there... -- www.kenlet.com
2006 Feb 10
1
Setting RAILS_ENV before running script/server in the comma
I want to set an environment variable before running a script for example setting ENV[''RAILS_ENV''] = production in the command line before running script/server so that it would start in production mode. Is there a way to do this from the command line so that I don''t have to modify the file? Thanks, Brian -- www.kenlet.com
2006 Feb 10
0
Deleting the association entry for has_and_belongs_to_many when one object is destroyed
I know that for has_many, and has_one. I can do :dependent => true and the associated object will be destroyed when the main object is destroyed. However, there does not seem to be a dependent like option for has_and_belongs_to_many. Is there one I do not know of? Is there a simple solution to this? Thanks, Brian -- www.kenlet.com
2005 Jul 28
0
autocommit problem with mysql
I''m trying to call save in active record after calling begin_db_transaction. In the code I see no place where it calls commit between create_or_update and the end of save. However in the log I see a commit happen...and I don''t want commit to be called does anyone know how to turn this off? thanks brian
2005 Nov 09
0
Change font color of logger?
Does anyone know how to change the font color of the default rails logger? Thanks, Brian