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, xml, Ruby on Rails, proc
setDefaults = Behavior.create({
initialize: function(obj) {
myforms = this.element;
...
JavaScript Highlight Selected forms, S...
by openid.aol.com/forwardfootmedia,
October 10, 2008 01:49,
5 refactorings, tagged with javascript, prototype, Ruby on Rails, lowpro
The script binds itself to ...
class UserMailer < ActionMailer::Base def signup_notification(user) ...
Ruby before_filter in model???
I have to call the setup_em...
<table class="charge">
<tr>
<td colspan="100%" class="mainHeader"><%=@label.label%></td>
...
Ruby Iterating through a nested ...
by mwilliams,
January 31, 2008 18:21,
3 refactorings, tagged with rails, ruby, Ruby on Rails, view, table, hash, nested hash, iterator, iterate
Good afternoon. I have a n...
<%= stylesheet_link_tag 'style' %> <%= stylesheet_link_tag site_short_name + "/stylesheet.css" %> ...
Ruby DRY up my forms!
by openid.aol.com/Zanoryt,
January 30, 2008 05:36,
2 refactorings, tagged with Ruby on Rails, formbuilder, forms, dry form
Holy smokes! Maintaining th...
module ApplicationHelper
def time_month(month)
return Time.now.months_ago(month)
...
Ruby last_number_of_months
Just wrote my first rails a...
@a_to_z = Service.find(:all,:select=>'SUBSTR(name,1,1) AS letter',:group=>'SUBSTR(name,1,1)',:order=>'name').collect { |d| d.letter }
...
Ruby A to Z only linking to lett...
by aubergene,
January 13, 2008 21:10,
1 refactoring, tagged with rails, alphabet, Ruby on Rails, a to z
I wanted A to Z anchor link...
def filename
self.uri.split('/').last
...
C# Get the Filename segment o...
by jwmittag,
January 01, 2008 15:04,
11 refactorings, tagged with Comparison, Scott Porad, asp.net, DotNET, .net, C-Sharp, CSharp, C#, RoR, Ruby on Rails, rails, ruby
On his Blog "Progress vs. P...
Looking for a better way to...