# --------------------------------------------------------------- # Option 1 # http://facets.rubyforge.org/doc/api/core/classes/Module.html ...
Ruby On Retrieve class name only
by Casper,
November 07, 2008 05:48
$$(".fieldpair").each(function(fieldpair) {
if (fieldpair.down("input:checked")) {
...
JavaScript On How to Refactor from a Loop...
by Casper,
January 13, 2008 14:05
Yes a construction like tha...
JavaScript On How to Refactor from a Loop...
by Casper,
January 13, 2008 12:16
Change the '+' to '~' and y...
# Untested since I don't have your database, but it should be
# something like this:
grouped_count = Messages.count(:conditions => "user_id = #{current_user.id}",
...
JavaScript On How to Refactor from a Loop...
by Casper,
January 09, 2008 20:22
Jermaine you are welcome. ...
// Nice to have for debugging purposes if you don't happen ...
JavaScript On How to Refactor from a Loop...
by Casper,
January 09, 2008 14:18
You have a couple of bugs. ...
JavaScript On How to Refactor from a Loop...
by Casper,
January 02, 2008 00:19
There was a semicolon missi...
// Nice to have for debugging purposes if you don't happen ...
JavaScript On How to Refactor from a Loop...
by Casper,
January 01, 2008 22:03
Hi. The Prototype code is s...
<!-- Load jQuery --> ...
JavaScript On How to Refactor from a Loop...
by Casper,
January 01, 2008 09:41
I like to do these kinds of...
<?php if (the_ID() == 8) { ?>
...
PHP On Output div block with PHP c...
by Casper,
December 07, 2007 19:35
You have a missing close br...
<!-- Import jQuery --> ...
JavaScript On Javascript threading
by Casper,
December 07, 2007 16:54
Like BK said you have globa...

Two options come to mind:
...