2013-02-25 11:42:20 -05:00
|
|
|
RailsMultisite::ConnectionManagement.each_connection do
|
2013-03-05 13:01:57 -05:00
|
|
|
begin
|
|
|
|
SiteSetting.refresh!
|
|
|
|
rescue ActiveRecord::StatementInvalid
|
|
|
|
# This will happen when migrating a new database
|
|
|
|
end
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|