therealadam (owner)

Revisions

gist: 12765 Download_button fork
public
Public Clone URL: git://gist.github.com/12765.git
Embed All Files: show embed
Text #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Issue < ActiveRecord::Base
  after_create :send_notification
 
  def send_notification; end
end
 
class SomeMigration < ActiveRecord::Migration
  def self.up
    # Do stuff with Issue
  end
 
  def self.down
    # Do stuff with Issue
  end
end