Created
September 25, 2008 05:07
-
-
Save therealadam/12765 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment