• redis 的持久化 at 2012年10月15日

    #4 楼 @HungYuHei 得自己去做定时备份?

  • redis 的持久化 at 2012年10月14日

    #1 楼 @hooopo - -....

  • 有谁在广东吗? at 2012年10月14日

    #72 楼 @hayeah 不太了解这种模式,你来弄一下

  • 关于 window 的问题 at 2012年10月12日

    其实是 Window,我去掉 Window 这个单词 直接改成 User = {} 来使用

  • 有谁在广东吗? at 2012年10月11日

    #69 楼 @saberma 要不月底搞场聚会,你可以来分享吧,计划找 2-3 个人做分享

  • 什么情况下需要用 redis at 2012年10月10日

    #3 楼 @zzhattzzh 听起来感觉像我以前拿 solr 来做自动补全

  • 什么情况下需要用 redis at 2012年10月10日

    #1 楼 @Rei 其实就是用来代替 cache 的吗?所有需要做 cache 的数据都放到 redis 里面?

  • 有谁在广东吗? at 2012年10月09日

    #1 楼 @saberma 哥们我们想搞场聚会,有兴趣分享点东西吗

  • 有谁在广东吗? at 2012年10月09日

    #60 楼 @hayeah @help5305fff @ganweiliang 要不就这周六日把

  • 有谁在广东吗? at 2012年10月09日

    #60 楼 @hayeah 好啊,要不搞场聚会把

  • #1 楼 @ruby_sky 好像多对多可以,刚换了下,能拿到值,如果单向 has_many,能保存,但没值

  • @ 的相关问题 at 2012年10月07日
    comment.body.gsub(/(^|[^a-zA-Z0-9_!#\$%&*@@])@(.+\s{1})/io) {
        %(#{$1}<a href="#{user_path(comment.account)}" class="at_user" title="@#{$2}"><i>@</i>#{$2}</a>)
    }
    
  • @ 的相关问题 at 2012年10月07日

    #10 楼 @xds2000

    comment.body.gsub(/(^|[^a-zA-Z0-9_!#\$%&*@@])@(.+\s{1})/io) { %(#{$1}@#{$2}) }

  • @ 的相关问题 at 2012年10月07日

    #5 楼 @xds2000 对啊,我是用他的,现在是评论的显示问题,我可以用他提交评论,但评论列表显示出来的是纯文本

  • @ 的相关问题 at 2012年10月07日

    #3 楼 @xds2000 用正则来匹配@ 如果是就替换成链接

  • @ 的相关问题 at 2012年10月07日

    #1 楼 @xds2000 没太懂,能具体点吗

  • #47 楼 @saberma SanviLutekiMac-mini:dump SanviLu$ ping lvh.me ping: cannot resolve lvh.me: Unknown host

  • #45 楼 @saberma 我去掉 host 就访问不到了,如果自己加 host,那么他的资源文件读取不到,好像跟 CDN 有关

  • #43 楼 @saberma 也就是我妖修改个 host 对吧

  • 楼主可以找我~~~😃

  • 我在自己做 ror 的项目,楼主有兴趣一起吗 [email protected]

  • kgio 我装不上,我换成 thin

    ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.7) lib/rails/rack/logger.rb:26:in call_app' railties (3.2.7) lib/rails/rack/logger.rb:16:incall' config/initializers/logger.rb:6:in call_with_quiet_assets' actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.1) lib/rack/methodoverride.rb:21:in call' rack (1.4.1) lib/rack/runtime.rb:17:incall' activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'

    这个是什么问题

  • 好漂亮,得很熟 CSS 才能写出这样式吧

  • #36 楼 @saberma thx,我换换看

  • #34 楼 @saberma 用的 railsoneclick 安装的

  • #32 楼 @saberma 尝试过了,一样的错误,我 ruby-china 也是这个 gem 出错,是因为我是 mountain lion 的关系吗

  • Installing kgio (2.6.0) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/SanviLu/Documents/rails_one_click/ruby/bin/ruby extconf.rb checking for CLOCK_MONOTONIC in time.h... no checking for CLOCK_MONOTONIC() in time.h... no checking for clockid_t in time.h... no checking for clock_gettime() in -lrt... no checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for poll() in poll.h... yes checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for struct sockaddr_storage in sys/types.h,sys/socket.h... yes checking for accept4() in sys/socket.h... no checking for sys/select.h... yes checking for ruby/io.h... yes checking for rb_io_t.fd in ruby.h,ruby/io.h... yes checking for rb_io_t.mode in ruby.h,ruby/io.h... yes checking for rb_io_t.pathv in ruby.h,ruby/io.h... yes checking for struct RFile in ruby.h,ruby/io.h... yes checking size of struct RFile in ruby.h,ruby/io.h... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

    Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/SanviLu/Documents/rails_one_click/ruby/bin/ruby --with-rtlib --without-rtlib --with-nsllib --without-nsllib --with-socketlib --without-socketlib /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:597:in Integer': can't convert nil into Integer (TypeError) from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:597:inblock in try_constant' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:330:in popen' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:330:inblock in xpopen' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:323:inxpopen' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:596:in try_constant' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:1156:inblock in check_sizeof' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:790:in block in checking_for' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:284:inblock (2 levels) in postpone' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:284:inblock in postpone' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:280:inpostpone' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:789:in checking_for' from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:1155:incheck_sizeof' from extconf.rb:40:in `'

    Gem files will remain installed in /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/gems/1.9.1/gems/kgio-2.6.0 for inspection. Results logged to /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/gems/1.9.1/gems/kgio-2.6.0/ext/kgio/gem_make.out An error occurred while installing kgio (2.6.0), and Bundler cannot continue. Make sure that gem install kgio -v '2.6.0' succeeds before bundling.

  • 有谁在广东吗? at 2012年09月25日

    #58 楼 @help5305fff 深圳群啦。。

  • 测试相关的问题 at 2012年09月25日

    #1 楼 @Rei 刚修改了错误信息,那你认为要如何来做测试好

  • 有谁在广东吗? at 2012年09月25日

    #55 楼 @help5305fff 让大家加群吧