search for: kenlet

Displaying 4 results from an estimated 4 matches for "kenlet".

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 Apr 01
0
Using globalize and Net::HTTP.get
...get is not in UTF-8 form. To convert this, you must use .toutf8 on the string object. It was simple, but I spent almost a whole day on this, so I document it here for posterity, in case anyon else ever runs into it. Here are the details. I figured you guys would be interested in it. http://blog.kenlet.com/articles/2006/03/31/internationalization-with-the-help-of-google-translate -- Posted via http://www.ruby-forum.com/.
2006 Feb 10
1
Setting RAILS_ENV before running script/server in the comma
...ing 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
...s_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