Public Gists by shuber

Gravatar
Sat Oct 03 14:01:18 -0700 2009
1
2
3
# app:sync
# Local and production synchronization
# - require yaml_db plugin
Gravatar
Fri Aug 28 14:19:05 -0700 2009
1
2
3
when :restrict
  method_name = "has_many_dependent_restrict_for_#{reflection.name}".to_sym
  define_method(method_name) do
Gravatar
Sun Aug 16 19:53:14 -0700 2009
1
2
3
./configure \
    --prefix=/usr/local/php5.3 \
    --mandir=/usr/local/share/man \
Gravatar
Tue Aug 11 19:22:00 -0700 2009
1
2
3
require File.dirname(__FILE__) + '/../../vendor/gems/net-dns-0.4/lib/net/dns/resolver'
 
# Custom Domain
Gravatar
Tue Mar 24 14:50:56 -0700 2009
1
2
3
<?php
 
class Proc extends Object {
Gravatar
Thu Feb 05 10:36:44 -0800 2009
1
2
3
var DateHelper = {
  // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time
  // Ruby strftime: %b %d, %Y %H:%M:%S GMT
gist: 13201 Reads patterns from the .sv...
Gravatar
Fri Sep 26 13:54:08 -0700 2008
1
2
3
namespace :svn do
  
  desc 'Reads patterns from the .svnignore file in RAILS_ROOT and ignores them'