Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@qichunren
Admin
NO. 32 / 2011-11-04

free
上海
25 Topics / 482 Replies
30 Followers
25 Following
19 Favorites
Working at home, looking for a remote web-dev job.
GitHub Public Repos
  • double_sync 44

    Auto sync operation between chrome windows

  • qichunren.github.io 4

    my github page

  • ckb-explorer 1

    CKB Explorer

  • docker-api 1

    A lightweight Ruby client for the Docker Remote API

  • rails-settings-cached 1

    This is imporved from rails-settings, added caching for all settings

  • audit-log 1

    📑 Create audit logs into the database for user behaviors, including a web UI to query logs.

  • homeland 0

    :circus_tent: Open source discussion website.

  • ruby 0

    The Ruby Programming Language

  • rails-inertia-starter 0

    A modern Rails application starter template using Inertia.js with React and Vite

  • BlockBaseStarter 0

    Rails project starter

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • (已解决) rails project 打包为 war 的详细步骤? at November 26, 2012

    项目里安装好 warble,然后执行warble config生成它的配置文件,然后你可以使用warble -T来查找 warble 的一系列命令任务:

    warble compiled    # Feature: precompile all Ruby files
    warble config      # Generate a configuration file to customize your archive
    warble executable  # Feature: make an executable archive
    warble gemjar      # Feature: package gem repository inside a jar
    warble pluginize   # Install Warbler tasks in your Rails application
    warble version     # Display version of Warbler
    warble war         # Create the project war file
    warble war:clean   # Remove the project war file
    warble war:debug   # Dump diagnostic information
    

    生成了 war 包后,之后应该知道了吧。

  • 有人对地图有兴趣吗?我们的产品公测了:地图汇 at September 27, 2012

    你们的地图是采用的 openstreetmap 吗?

  • 来说说只有程序员才能看懂的笑话... at September 19, 2012

    我只是想起这个笑话而已,大家能不歪楼么?

  • 来说说只有程序员才能看懂的笑话... at September 19, 2012

    “咚咚咚”“谁?”过了很久……“Java”

  • 对于 qichunren 同学的 ruby-china for chrome 的插件更新 at September 03, 2012

    @Tony612 不错不错,已经合并了。

  • 于是跟风发图 ━(゜∀゜)━ at July 27, 2012

    怎么样学的?

  • 今天买 Web 开发敏捷之道的时候悲剧了。 at July 24, 2012

    #10 楼 @yggg 我也看成是你了,哈哈

  • 折腾 1 天, Sinatra 终于在板子上跑起来了 at July 24, 2012

    这个 arm 板你安装的是什么 Linux 呢?

  • [广州] 招聘 Ruby / Rails 程序员 at July 24, 2012

    支持@yzhrain . 我觉得这个招聘信息写得不错,至少挺完整的,从中可以了解到公司背景、是做什么的,还有楼主的一些个人信息。我最近遇到一个遇到这样一个老板,约我见面谈谈,见面然后先是从我这里了解社区中的各种人脉和他项目中的一些解决方案难题,然后谈到具体的公司和项目背景,支支吾吾的,一定得要我先签订保密协议和竞业协议 (都还没有签合同),才得继续谈。我被他撩得居然签订了。现在想起来,我真傻,就不应该去聊。

  • 大家有没有看电视的习惯 at July 14, 2012

    非常了得

  • 推荐一些比较好的 iOS 开发社区吧 at July 09, 2012

    国内聚集最多的应该是 cocoachina 吧,不过那里的氛围我真是不喜欢。有条件还是上国外的吧,像 stackoverflow.com, 还有http://www.iphonedevsdk.com/ http://www.cocos2d-iphone.org/forum 等等

  • [上海] 想和码婆一起工作吗? at July 09, 2012

    我十分好奇第二张照片是怎么样照出来的?镜头角度好奇怪啊,怎么样才能照出这样的效果呢

  • 不属于 Model 中的字段一般怎么处理? at July 06, 2012

    像你说的这种情况,看这里文档

    其它的情况,你可以在 model 中定义新的属性。

  • 江湖救急: lione 上如何配置 fq 代理 at July 05, 2012

    你用的是什么系统?我用的是 mac,我目前感觉比较方便的做法是用 Secret Socks 这个小软件,直接配置 ssh 帐号,然后在 mac 的网络设置中的代理配置一下就好了。

    这样的做法是服务器端什么都不用改,只需要提供一个 ssh 帐号就行了。

  • Mongoid 自己出了一个 MongoDB driver - Moped at June 21, 2012

    关键是 moped 把其中的 bson gem 搞得不兼容了,都命名冲突了。

  • Sidekiq & Resque 启动要占用一个 cli 好麻烦啊~ 能放后台吗? at June 20, 2012

    #12 楼 @ruohanc 我用过这个,它需要另外启动一个 rake 任务的

  • Sidekiq & Resque 启动要占用一个 cli 好麻烦啊~ 能放后台吗? at June 20, 2012

    #9 楼 @hooopo 我突然想到我用 system 方法来执行

  • Sidekiq & Resque 启动要占用一个 cli 好麻烦啊~ 能放后台吗? at June 20, 2012

    请问有这样一种 process queue 的 gem 吗?我页面上来一个请求到控制器,然后控制器能直接异步启动一个 process,处理完耗时任务,再自己乖乖的退出自己。这样的解决方案多简洁啊

  • 怎么在重启服务前杀掉以前的服务? at June 20, 2012

    这样行不行?

    ps -ef | grep thin | egrep -v grep | awk '{print $2}' | xargs kill -9 >/dev/null 2>&1

  • Linode 25 万美元回馈 at June 20, 2012

    今天早上起来,发现给我送钱了。这次的事件有失 Linode 的水准啊。

  • Linode 25 万美元回馈 at June 20, 2012

    好像爆掉了额,钱已经扣了

  • Linode 25 万美元回馈 at June 19, 2012

    #19 楼 @fresh_fish 真的啊?我一会儿试试,不行的话,只能使用旧账户了。一会儿不知道网站会不会卡

  • Linode 25 万美元回馈 at June 19, 2012

    Linode 记录了注册用户的信用卡信息,不知道一会儿新注册用户 可以使用相同的信用卡吗?我只有一张信用卡哎

  • gollum 中文问题 at June 19, 2012

    @mobiwolf 我猜你可能是没有使用最新的 gollum 吧,这个问题是由于 其依赖的 Grit 导致的问题,不过最新版已经解决了这个问题 https://github.com/mojombo/grit/issues/65

    所以你使用最新版的 gollum 应该没有问题了。

  • Linode 25 万美元回馈 at June 19, 2012

    现在什么地区的机房速度给力呢?

  • Linode 25 万美元回馈 at June 18, 2012

    #4 楼 @fresh_fish 不是还没有开始吗?你怎么就入手了?

  • link_to 只能对文字超链接吗?如果我想对一个元素呢?比如 dt at June 14, 2012

    #3 楼 @cqpx 不错,已经改了

  • link_to 只能对文字超链接吗?如果我想对一个元素呢?比如 dt at June 14, 2012

    Google: http://lmgtfy.com/?q=rails+link_to 然后第一条 进入:http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html 然后点到 link_to 方法:http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to

    然后看到其中的 Example 了吧:

     You can use a block as well if your link target is hard to fit into the name parameter. ERB example:
     <%= link_to(@profile) do %>
     <strong><%= @profile.name %></strong> -- <span>Check it out!</span>
    <% end %>
    # => <a href="/profiles/1">
         <strong>David</strong> -- <span>Check it out!</span>
       </a>
    

    其实你自己亲自这样找一个比在这发个帖子成本少得多,一下子就解决了。不知道你怎么想的。

  • Ruby China 的 Chrome 插件来了 at June 13, 2012

    #5 楼 @huacnlee 好啊,那样大家更新方便啦。目前插件中还有些小问题,如列表中每个帖子后面的回复数显示。这些会解决的。

  • Prev
  • 1
  • 2
  • …
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English