1
2
3
4
    for directory in @directories
      xml.item do
        xml.title "#{directory.name} (PR #{directory.pagerank})"
...

Ruby xml rss feed

by chovy.myopenid.com, November 05, 2008 07:13, 2 refactorings, tagged with Ruby on Rails, proc, xml, ruby

Looking for a better way to...

035687df00d162cec025302373ebc076 Talk

PHP On Getter and Setter

by chovy.myopenid.com, October 08, 2008 18:41

I tend to do special handli...

035687df00d162cec025302373ebc076 Talk
1
2
3
4
Q = jQuery.noConflict();

Q(document).ready(function(){
...

JavaScript Toggle "Check all / Un...

by chovy.myopenid.com, October 06, 2008 20:16, 1 refactoring, tagged with javascript html jquery toggler

I have a simple toggler to ...

035687df00d162cec025302373ebc076 Talk
1
2
3
4
var getAnchor = function (default) {
  default ||= 'news';
  return document.location.toString().split( '#' )[1] || default;
...

JavaScript On Small Javascript Code

by chovy.myopenid.com, October 06, 2008 19:46

Some would say you should o...

035687df00d162cec025302373ebc076 Talk
1
2
3
4
/*

var biz;
...

JavaScript On Small Javascript Code

by chovy.myopenid.com, October 06, 2008 02:05 Star_fullStar_fullStar_fullStar_full

Get position of "#" in the ...

035687df00d162cec025302373ebc076 Talk
1
2
3
4
layout :set_layout # might be just set_layout


...

Ruby On render partial layout

by chovy.myopenid.com, October 05, 2008 02:18

I think you just need to ca...

035687df00d162cec025302373ebc076 Talk
1
2
3
<%= link_to "Go back", path_to_go_back, { :class => "prev", :title => "Previous page" } %>
...

Ruby On link_to with an image_tag a...

by chovy.myopenid.com, October 05, 2008 01:58

The image itself would be a...

035687df00d162cec025302373ebc076 Talk