Implement notification for upcoming tasks via a daily fired rake-task.
This commit is contained in:
parent
053593f718
commit
67743cd014
7 changed files with 54 additions and 9 deletions
|
|
@ -144,7 +144,9 @@ class RoadToVersionThree < ActiveRecord::Migration
|
|||
# t.datetime :created_at
|
||||
# end
|
||||
|
||||
|
||||
# == User
|
||||
# Ativate all Users for notification on upcoming tasks
|
||||
User.all.each { |u| u.settings['notify.upcoming_tasks'] = 1 }
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20090120184410) do
|
||||
ActiveRecord::Schema.define(:version => 20090119155930) do
|
||||
|
||||
create_table "article_categories", :force => true do |t|
|
||||
t.string "name", :default => "", :null => false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue