This commit is contained in:
Marwann 2015-11-28 20:51:04 +01:00
commit d8567bee1b
2 changed files with 10 additions and 2 deletions

View file

@ -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}>"

View file

@ -0,0 +1,8 @@
class FixMissingReputations < ActiveRecord::Migration
def change
User.find_each do |u|
u.reputation ||= 0
u.save
end
end
end