Public Gists by raskchanky

Gravatar
Tue Jun 02 08:25:22 -0700 2009
1
2
3
# http://www.jamesbritt.com/2007/12/18/sending-mail-through-gmail-with-ruby-s-net-smtp
# http://d.hatena.ne.jp/zorio/20060416
 
Gravatar
Mon May 18 09:54:46 -0700 2009
1
2
3
# Cache Headers
# Middleware for configuring HTTP cache policy headers in Rack based web applications.
# Apply cache headers to HTTP responses corresponding to requests that match defined
Gravatar
Fri May 01 14:54:18 -0700 2009
1
2
3
# When a spammer wants to attack your site, they'll likely send an automated bot
# that will blindly fill out any forms it encounters. The idea of a "honeypot" is that
# you place a hidden field in a form. That's the honeypot. If this field is filled in, then
Gravatar
Fri Mar 13 11:14:14 -0700 2009
1
2
3
#
# Add this to the bottom of environment.rb
#
Gravatar
Wed Feb 18 10:59:58 -0800 2009
1
2
3
#!/bin/sh
 
mkdir -p /usr/local/src && cd /usr/local/src
Gravatar
Tue Jan 13 14:26:18 -0800 2009
1
2
3
require 'test_helper'
 
class PostTest < ActiveSupport::TestCase