===================================[2014-04-09]=================================
kw: , , subdomain, forge, course, contest
תforge/course/contest⼸settings.yml
תdevelopmentģʽ»ᵼ޷

app/models/setting.rb :165
  # fixed domain url in development. tantantan's bug
  if Rails.env.development?
    methods.map do |m|
      define_singleton_method m do; nil; end if m.to_s =~ /([a-zA-Z]+_domain)$/
    end
  end
  򲿷ƶsubdomainʹڶת
  Ϊ˿㣬ʹ֮developmentģʽʧЧ 


===================================[2014-04-09]=================================
kw: ˵, , layout
ҳϷĵûRedmine::MenuManager
MenuManagerʽ޷ƣ˵ʾifеprocִΪû˽

#ƥʾ͸ı
app\helper\application_helper.rb
render_dynamic_nav УñlayoutоʾЩĿ

app\views\layouts\_base_header.html.erb
ҪʾĿɾʵãڸlayoutУ


===================================[2014-04-09]=================================
kw: home_path, ҳ, ת, , welcome
#ҳƥ벻ͬҳ
app\controller\welcome_controller.rb
#entry_select öʾҳ



===================================[2014-06-06]=================================
kw: user_scores
user_scoresṹ⣬Ҫ
bundle exec rake db:migrate:down VERSION=20140410021724
bundle exec rake db:migrate:up VERSION=20140410021724



===================================[2014-07-08]=================================
kw: CKEditor, ı, ༭
CKEditorط
1.ѲļпpluginsļУȷļΪredmine_ckeditor
2. bundle install --without development test
3. rake redmine:plugins:migrate RAILS_ENV=production
4.
5.CKEditor(Administration > Plugins > Configure)
6.ıʽ (Administration > Settings > General > Text formatting)ΪCKEditor
ע⣺һҪCKEditorټıʽģȻݿⲻɶӦ¼ᱨ



===================================[2014-07-19]=================================
kw: ҳ, , forge, course, contest, 
ҳƱ볢²
Ǩļб롮sort_type 
 bundle exec rake db:migrate:down version=20140716021202 bundle exec rake db:migrate:up version=20140716021202
ڰ²ִУδ֮صֱӰ²ִ
1. bundle exec rake db:migrate:down version=20140719080032
2. bundle exec rake db:migrate:up version=20140719080032
===================================[2014-07-30]=================================
kw: ҳ, , forge, course, contest, image_width 

undefined image_width 
bundle exec rake db:migrate:down version=20140725062302
bundle exec rake db:migrate:up version=20140725062302

=================================[2014-07-19]=====================================
kw: Mysql2::Error,洢,CALL sp_project_status_cursor();
bundle exec rake db:migrate:down version=20130828004955
bundle exec rake db:migrate:up version=20130828004955

=================================[2014-08-13]====================================
kw:ֵ֧ͼƬʽ
Ĭ֧¸ʽ"bmp,jpeg,jpg,png,gif"
configuration.yml޸ģʽpic_types: "bmp,jpeg,jpg,png,gif"(ע⣺pic_typesǰ#ȥ)
ɺ

=================================[2014-08-16]====================================
kw:Ǩƣproject_scoresѴ
bundle exec rake db:migrate:down VERSION=20140811022947
bundle exec rake db:migrate:up VERSION=20140811022947
bundle exec rake db:migrate
bundle exec rake project_score:calculate
=================================[2014-10-17]====================================
kw:Ǩƣweb_footer_oranizersѴ
bundle exec rake db:migrate:down VERSION=20141013014908
bundle exec rake db:migrate:up VERSION=20141013014908
bundle exec rake db:migrate
kw:Ǩƣweb_footer_companiesѴ
bundle exec rake db:migrate:down VERSION=20141013023400
bundle exec rake db:migrate:up VERSION=20141013023400
bundle exec rake db:migrate
