Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
ken wong
@ken
高级会员
第 3373 位会员 / 2012-08-23

0 篇帖子 / 295 条回帖
6 关注者
0 正在关注
2 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • gem install mysql 遇到问题及解决方案 at 2015年07月12日

    .zshrc 那段,其实安装 rvm 的时候应该就已经配置上了。

    https://rvm.io/rvm/install#3-reload-shell-configuration-amp-test

  • rspec 实战篇 at 2015年07月11日

    Faker::Name.name 这个还是有机会出现重复的,不够 random。

  • 没法科学上网的时候如何使用 Google 搜索引擎 at 2015年07月07日

    ao 很无辜啊

  • 执行 rake db:migrate 和 rake db:create 的时候要么报错,要么提示 ruby 内有个 bug,总是找不到解决的办法,能帮我看看吗? at 2015年07月01日

    以前遇到过 ruby 的 bug 提示,最终都是代码问题,跟 ruby 没关系。

  • 使用 Rails 构建 API 实践 at 2015年06月30日

    @nuc093 有两个问题,第一个问题是拼写错误,把null_session拼成了seesion 另外一个问题,模板文件的位置错了,应该在 views 文件夹下。

  • RAILS API TO BE PART OF RAILS 5 at 2015年06月28日

    @lgn21st 你是对的。

  • RAILS API TO BE PART OF RAILS 5 at 2015年06月28日

    刚尝试了一下 rails 4.2.2 已经支持rails new myapp --api 而且 rails-api 的官方文档也说 IMPORTANT: Rails::API has been merged into Rails

  • Rails 4.2 Scaffold 生成的 Controller 中的 new , 为什么会有 respond_with 啊? at 2015年01月29日

    http://guides.rubyonrails.org/4_2_release_notes.html

    respond_with and the corresponding class-level respond_to have been moved to the responders gem. Add gem 'responders', '~> 2.0' to your Gemfile to use it:

  • 关于 RubyChina 服务访问慢的一些阐述: at 2015年01月19日

    别搬回来了

  • 做 API 时,应不应该把 id 暴露给客户端使用? at 2015年01月12日

    可以限制用户执行这个方法

  • Redmine 的编码问题 at 2015年01月09日

    尝试用 rails 的命令行重新创建数据库。

    rake db:drop RAILS_ENV=production
    rake db:migrate RAILS_ENV=production
    
  • 可以稍微吐槽下那些云部署服务嘛 at 2015年01月08日

    heroku

  • 老码农冒死揭开行业黑幕:如何编写无法维护的代码 at 2014年12月30日

    拉出去把 DD 切了

  • 乐享圣诞,喜迎新年抽奖活动(截止日期:2015.1.2) at 2014年12月30日

    485062

  • 你们都是如何调试的 at 2014年12月30日

    @iml6yu 使用 devise 即可,两者都可实现 https://github.com/plataformatec/devise

  • 为什么 Coding 不是中国的 Github ? at 2014年12月29日

    有人建议我用一部分钱去 lobby 中国政府把 Github 彻底封了……

    帮我问候他家所有人!

  • 你们都是如何调试的 at 2014年12月29日

    可以啊。 用 byebug https://github.com/deivid-rodriguez/byebug

  • 大家是如何解决 Ubuntu 下安装 Rails 的网络问题的 at 2014年12月26日

    修改成 https

  • 如何删除一个 rails 项目下 Gemfile 安装的 gem at 2014年12月26日

    append 两个文件 修改一个文件 新增一个文件

  • 这个 rvm 的警告怎么消除 at 2014年12月25日

    @string2020 then, reboot your system.

  • 这个 rvm 的警告怎么消除 at 2014年12月25日

    you may try rvm reset

  • [深圳] 宅豆网招聘 Ruby 大牛和小牛各一枚,中国知名企业家天使投资 at 2014年12月10日

    超级赞的公司

  • 迁移数据库时的 wrong number of arguments (4 for 2..3) 问题 at 2014年12月04日
    class AddIndexToUsersEmail < ActiveRecord::Migration
      def change
        add_index :users, :studentsid
        add_index :users, :email
      end
    end
    
  • 迁移数据库时的 wrong number of arguments (4 for 2..3) 问题 at 2014年12月04日

    add_index 没有指定 table_name

  • 全文搜索 sunspot at 2014年11月09日

    就差一天就用上了,最后用了 ransack

  • 犹豫是不是要升级 Yosemite at 2014年10月18日

    #29 楼 @Ryan 要输入密码啦。

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