2014-07-15 16:13:50 +08:00
|
|
|
# -*coding:utf-8 -*-
|
2014-07-14 16:12:58 +08:00
|
|
|
class SetWebTitle < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
FirstPage.all.each do |fp|
|
|
|
|
fp.web_title = "Trustie - 为大学生技术创新筑巢"
|
2014-07-31 13:40:02 +08:00
|
|
|
fp.save(:validate => false)
|
2014-07-14 16:12:58 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|