• Rails 3.1.2 has been released at 2012年03月30日

    #4 楼 @huacnlee 依然有 1.9.3 得 Warring 提示

    Served asset /bootstrap-tabs.js - 304 Not Modified (3ms) [2011-11-18 14:25:58] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

    这个问题你解决了吗?

  • will_paginate 如何修改 URL? at 2012年03月28日

    #2 楼 @zhaoguobin 好,3q

  • Sunspot 谁用过,求助! at 2012年03月28日

    #2 楼 @myliang 3q,高人啊,very 感谢!

  • Sunspot 谁用过,求助! at 2012年03月27日

    #1 楼 @saberma 报一堆错误。 scott@scott-ThinkPad-T420:~/work/dituhui$ rake sunspot:solr:start --trace ** Invoke sunspot:solr:start (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute sunspot:solr:start java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode) rake aborted! Server is already running with PID 0 /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/sunspot_solr-1.3.1/lib/sunspot/solr/server.rb:62:in start' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/sunspot_solr-1.3.1/lib/sunspot/solr/tasks.rb:12:inblock (3 levels) in ' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in call' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:205:inblock in execute' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in each' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:200:inexecute' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:158:in block in invoke_with_call_chain' /home/scott/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:151:in invoke_with_call_chain' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/task.rb:144:ininvoke' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:116:in invoke_task' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock (2 levels) in top_level' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in each' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock in top_level' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:88:intop_level' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:66:in block in run' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/lib/rake/application.rb:63:in run' /home/scott/.rvm/gems/ruby-1.9.3-p0/gems/rake-0.9.2.2/bin/rake:33:in' /home/scott/.rvm/gems/ruby-1.9.3-p0/bin/rake:19:in load' /home/scott/.rvm/gems/ruby-1.9.3-p0/bin/rake:19:in

    ' Tasks: TOP => sunspot:solr:start

  • Bootstrap Themes at 2012年03月20日

    顶起

  • uploadify 和 Rails 交互问题 at 2012年03月02日

    @ywencn 谢谢,我之前就是按https://github.com/websymphony/Rails3-Paperclip-Uploadify 这个做的,就像是@huacnlee 说的,貌似没那么稳定,有时候不行,刷新几次之后就行啦。谢谢两位。我在研究一下关掉 verify_authenticity_token 的这个方法吧。

  • uploadify 和 Rails 交互问题 at 2012年03月02日

    @ywencn 还是不行啊。

    log: Processing by DataController#parse_csv as JSON Parameters: {"Filename"=>"gdp.csv", "_http_accept"=>"application/javascript", "folder"=>"/data/", "fileext"=>"*.csv;", "authenticity_token"=>"undefined", "_dituhui_session"=>"BAh7CkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjoGRVRbCEkiCVVzZXIGOwBGWwZpCUkiIiQyYSQxMCRyc3dRVlI2Vk1uSkRSSkFycmN2YXdlBjsAVEkiHXdhcmRlbi51c2VyLnVzZXIuc2Vzc2lvbgY7AFR7BkkiFGxhc3RfcmVxdWVzdF9hdAY7AEZJdToJVGltZQ1CCBzAUmRAVgk6C0Bfem9uZUkiCFVUQwY7AFQ6DW5hbm9fbnVtaQKiAjoNbmFub19kZW5pBjoNc3VibWljcm8iB2dASSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOw9JIj50cmFuc2xhdGlvbiBtaXNzaW5nOiB6aC1DTi5kZXZpc2Uuc2Vzc2lvbnMudXNlci5zaWduZWRfaW4GOwBGOglAbm93MEkiD3Nlc3Npb25faWQGOwBGSSIlMGU2ZjViYTYyNjI2MmUwYjBlMTNjM2E3ZGZiNzM1MjgGOwBUSSIQX2NzcmZfdG9rZW4GOwBGSSIxUFBkbnZHM3A4WXpKWDlaNjMxOXFDaXhRZmxhdVdKRUw3Vm43bDBhRWl1Zz0GOwBG--2fab5f7ebe958ce6fbbd46de38a88660a51d54e1", "Filedata"=>#>, "Upload"=>"Submit Query"} WARNING: Can't verify CSRF token authenticity

  • #13 楼 @jinleileiking 感谢,按你的方法终于搞定啦。

  • @chenzhong 你这个问题解决啦吗,我还没有解决,即使现在配置好了,重启之后还是不行。

  • 哈哈,不错

  • 呜呜~~~~换了,不用这个,现在要试试 vim 啥的吧。

  • mac 期待中

  • 怎样快速学习 ruby? at 2012年01月19日

    貌似这个东西起点有点高,不怎么好学。

  • try