ryanb / association-freezer

Freeze a belongs_to association in Active Record.

This URL has Read+Write access

association-freezer / Rakefile
100644 15 lines (12 sloc) 0.525 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rubygems'
require 'rake'
require 'echoe'
 
Echoe.new('association-freezer', '0.1.1') do |p|
  p.summary = "Freeze an Active Record belongs_to association."
  p.description = "Freeze an Active Record belongs_to association."
  p.url = "http://github.com/ryanb/association-freezer"
  p.author = 'Ryan Bates'
  p.email = "ryan (at) railscasts (dot) com"
  p.ignore_pattern = ["script/*"]
end
 
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }