Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
greatghoul
@greatghoul
会员
第 4257 位会员 / 2012-10-29

西安
25 篇帖子 / 646 条回帖
34 关注者
6 正在关注
53 收藏
Ask and Learn.
GitHub Public Repos
  • remote-working 10871

    收集整理远程工作相关的资料

  • smooth-translator 71

    让你沉浸在阅读中的划词翻译利器

  • basecamp3-powerpacks 5

  • google-maps-samples 3

    谷歌地图示例

  • crx-hubstaff-admin 2

    Hubstaff Admin Panel (Chrome Extension)

  • crx-gitpod-close-tab 2

  • crx-tpl-mv3 2

    Simple template for chrome extension mv3 without modern javascript framework.

  • smooth-counter 1

    Simple counter extension for Google Chrome

  • xian-IT 1

    『西安互联网』二线城市也精彩

  • greatghoul 1

    Ask and Learn

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 试寻 Ruby On Rails 远程工作 at 2015年12月20日

    http://yizaoyiwan.com/categories/jobs

  • 使用 Ransack 遇到的问题 at 2015年12月15日
    [3] pry(#<#Class:0x007f79acbfee38>)> exit
    CACHE (0.0ms) SELECT "key_word_lists".* FROM "key_word_lists" WHERE ("key_word_lists"."value_cn" LIKE '%阿迪达斯%') LIMIT 30 OFFSET 0
    Rendered key_word_lists/single_store_key_word_lists.html.erb within layouts/application (131944.2ms)
    Completed 500 Internal Server Error in 146479ms (ActiveRecord: 0.6ms)
    
    ActionView::Template::Error (Association named 'value_cn' was not found on KeyWordLists::BrandKeyWordList; perhaps you misspelled it?):
    

    哪位大神能帮忙看一下这段调试:

    SELECT "key_word_lists".* FROM "key_word_lists" WHERE ("key_word_lists"."value_cn" LIKE '%阿迪达斯%') LIMIT 30 OFFSET 0
    

    从数据库查询是可以查询出结果来的,为什么下面会报

    'ActionView::Template::Error (Association named 'value_cn' was not found on KeyWordLists::BrandKeyWordList; perhaps you misspelled it?))'
    

    这种错误呢

  • Ruby 社区 发一个问题, 还被屏蔽关闭, 社区的管理这么管理 at 2015年12月15日

    #30 楼 @poshboytl 哈,你这个引流好棒

  • 一款日程管理 App 正在邀请内测 at 2015年12月02日

    这几天在用这个,感觉很不错。

  • 果然 V2EX 跟当年落伍者的运营方式如出一辙 at 2015年11月30日

    突然间发现已经很久没有上过 v 站了

  • 大家前端用嵌入 Erb 还是用 Haml 呢? at 2015年11月27日

    #2 楼 @zonghua 应该是 turbolinks 吧。

    https://github.com/rails/turbolinks

  • 大家前端用嵌入 Erb 还是用 Haml 呢? at 2015年11月26日

    使用 erb 较多一些,很少用其它形式的模板。

  • 谁干这混事了?哈哈 at 2015年11月22日

    用 Ruby 或 Rails 难道不是因为写起来很 Happy 吗?

  • rails-assets.org 挂掉了 at 2015年11月19日

    之前是用的 rails-assets.org,然后它挂了几次,然后切换到了 bower_rails,然后最近听说 bower 不再维护了

    以后该怎么整,求建议。

  • Ruby China 生日快乐~ at 2015年10月28日

    生日快乐。

  • RubyConf China 2015 期间电子书五折优惠 at 2015年10月26日

    买迟了,没有优惠,入了 RSpec

  • 关于 Rails 项目的一点问题 at 2015年10月26日
    default: &default
      xx: xxx
    
    <<: *default
    

    <<: *default 其实就是继承上面的那个 default: &default 里面的内容

    报错是因为你的 YAML 有 Tab,把 Tab 换成空格就好了。

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at 2015年10月26日

    以前的公司把 ruby.taobao.org 屏蔽了,因为域名里面有淘宝字样,不过你应该不是这种情况。

  • 现在有公司要远程工作的员工么? at 2015年10月10日

    http://yizaoyiwan.com/

  • 为何 删帖 ,好霸气 at 2015年10月07日

    看到这这种一句话不说完,非要拆分成好几次回复的,就想

  • [2015年9月28日] 下午三点左右,Ruby China 经受了一轮 DDOS 攻击 at 2015年09月28日

    肯定是管理员得罪叶良辰啦。

  • Rails Assets 网站似乎挂了? at 2015年09月21日

    #4 楼 @glz1992 看来恢复了,不过已经换到 bower-rails 的方案了。

  • Rails Assets 网站似乎挂了? at 2015年09月21日

    #1 楼 @mimosa 切换到 bower-rails 意外的很顺滑,谢谢。

  • ruby.taobao.org 要强制使用 https 协议了 at 2015年09月21日

    这个必须要赞。

  • 前后分离架构的探索之路 at 2015年09月15日

    我竟然看完了。

  • FactoryGril 生成 model 数量不对 at 2015年09月15日

    之前好像也遇到过类似的问题

    create_list(:xxx, 3).tap({})
    
  • 向社区的朋友推荐自己的书《Rails 实践》 at 2015年09月10日

    没有实体书可以买吗?

  • 工作也旅行 - 工作日常 at 2015年09月02日

    毒气扩散!

  • Ruby 2.2.2 的关于 min 的一个 bug at 2015年08月30日

    这个赞。

  • 风车 (fengche.co) 现在还提供企业服务吗? at 2015年08月29日

    tower basecamp

    风车现在还活跃着吗?

  • [已解决] 怎么生成 UUID?用 Gem?用 Rails 自带的?用 Ruby 自带的? at 2015年08月26日

    搭车问下 https://github.com/dylang/shortid 这工具有没有 Ruby 版本的?

  • 经过近一个月的学习,我把博客用 Rails 重写了,你们有什么想问的 at 2015年08月14日

    we are sorry

  • 去掉 turbolinks 没问题吧?它导致我编辑器加载不出来 at 2015年08月12日

    没问题。

  • acts_as_taggable_on + simple_form + select2 只有最后一个标签被保存 [已解决] at 2015年08月12日

    加上 multiple: true 之后应该还要改这里吧

    params.require(:article).permit(:title, :content, category_list: [])
    
  • 上一页
  • 1
  • 2
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • …
  • 20
  • 21
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English