##// END OF EJS Templates
Use AR callbacks instead of observers (removed in Rails4) for notifications....
Use AR callbacks instead of observers (removed in Rails4) for notifications. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12021 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10691:abd921736b6d
r11791:205eda8b33d6
Show More
065_add_settings_updated_on.rb
11 lines | 241 B | text/x-ruby | RubyLexer
/ db / migrate / 065_add_settings_updated_on.rb
class AddSettingsUpdatedOn < ActiveRecord::Migration
def self.up
add_column :settings, :updated_on, :timestamp
# set updated_on
Setting.all.each(&:save)
end
def self.down
remove_column :settings, :updated_on
end
end