Merge branch 'master' of https://github.com/Tiqa/Debats
This commit is contained in:
commit
d8567bee1b
2 changed files with 10 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
APP_NAME = "Débats"
|
||||
APP_NAME_WITH_DOMAIN_EXT = "Débats.cc"
|
||||
MAIL_FROM_NO_REPLY = "no-reply@debats.cc"
|
||||
APP_NAME_WITH_DOMAIN_EXT = "Débats.co"
|
||||
MAIL_FROM_NO_REPLY = "no-reply@debats.co"
|
||||
MAIL_FROM_NO_REPLY_WITH_NAME = "#{APP_NAME} <#{MAIL_FROM_NO_REPLY}>"
|
||||
8
db/migrate/20151128193845_fix_missing_reputations.rb
Normal file
8
db/migrate/20151128193845_fix_missing_reputations.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class FixMissingReputations < ActiveRecord::Migration
|
||||
def change
|
||||
User.find_each do |u|
|
||||
u.reputation ||= 0
|
||||
u.save
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue