Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Steven Wu
@springwq
会员
第 4898 位会员 / 2012-12-07

上海
68 篇帖子 / 514 条回帖
6 关注者
23 正在关注
88 收藏
初级 Rails 程序员
GitHub Public Repos
  • feedbin 0

  • test-repo 0

  • javascript-the-definit... 0

  • super-mcp 0

  • jampp-mcp 0

  • singular-mcp 0

  • kayzen-mcp 0

  • jampp_mcp_server 0

  • scrape_ai_tools 0

  • nextjs-tutorial 0

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 青轴,茶轴还是红轴, 哪个更适合敲代码? at 2016年07月11日

    谢谢楼上各位,看来排除了青轴了,我现在在考虑 是选茶轴还是红轴。。

  • 不会写前端感觉太痛苦了 at 2016年06月18日

    撸一个界面容易,撸一个好看的界面就难了。建议要么找个符合自己审美的网站抄一下 UI, 要么买一套主题再自己定制一下。

  • [上海] 简书诚聘 Ruby 工程师 at 2016年04月19日

    看到这条,不得不顶。

    如果您参加过高质量的 Rails 培训 (例如 @knwang 创办的 TealeafAcademy/LaunchScool) 有加分。

  • Rails 5 里的 Parameters 不再继承自 Hash at 2016年04月19日

    今天也碰到这个问题,Rails 5 的 安全性又提高了。另外 params.merge! 这个方法将被移除,可用 params.merge 代替,然后需要什么参数再 permit 参数的 key

  • 写怎么在 haml 文件里边儿通过 pry 调试? at 2016年04月19日

    #6 楼 @qinfanpeng

    pry 也可以有这样: pry-bybug, 另外 还有很实用的 pry-remote

    常用的 pry 工具箱:

    gem 'pry'
    gem 'pry-byebug'
    gem 'pry-remote'
    gem 'pry-stack_explorer'
    gem 'pry-rails'
    
  • 写怎么在 haml 文件里边儿通过 pry 调试? at 2016年04月19日

    #2 楼 @u1453357893

    jbuilder 里面怎么写 ruby 代码,就可以怎么加 binding.pry

  • 写怎么在 haml 文件里边儿通过 pry 调试? at 2016年04月19日

    Haml 可以这样:

    - binding.pry
    
  • 上线 Ruby 安装包镜像 - cache.ruby-china.org at 2016年04月18日

    Cooool!!

  • Agile Web Development with Rails 5 来了 at 2016年04月18日

    #11 楼 @chuifeng 不能

  • 分享 RSpec 入门指南 at 2016年04月15日

    以前看过这个网站,挺不错的,不过这个中文版的翻译有点落后了,还是老的语法,还是看英文版的好。

  • [远程] 上海极鲜网招聘 2 名中级 Ruby 工程师 (12k 起) at 2016年04月12日

    赞一下 支持远程的公司。

  • 麻烦推荐比较好的 Rails 实战线上培训课程 at 2016年04月11日

    以开发某一个项目为目标的实战 Rails 开发培训,我推荐 http://launchschool.com

  • 美亚购买技术图书能否直邮? at 2016年04月10日

    直接在 Pragmatic 官网买电子版,还能经常收到更新。

  • Agile Web Development with Rails 5 来了 at 2016年04月07日

    已经下载了

  • 学习 Ruby on Rails 需要有前端的基础知识? at 2016年03月18日

    Rails 是全栈框架,前端 HTML/CSS/JS 都要会点。然后把 Sass 学会,ERB 就比较简单了,前期最好别看 HAML / Slim / Coffee。如果你要部署到生成环境,还得搞明白 Asset Pipeline。

  • Ruby China 的 RubyGems 镜像上线 at 2016年03月10日

    偶尔 会有 HTTPError

    Fetching gem metadata from http://gems.ruby-china.org/..Retrying dependency api due to error (2/4): Bundler::HTTPError Network error while fetching http://gems.ruby-china.org/api/v1/dependencies?gems=actionpack%2Crailties%2Csass%2Csprockets%2Ctilt%2Csprockets-rails%2Cthor%2Crails-dom-testing%2Cautoprefixer-rails%2Cjson%2Crdoc%2Csanitize%2Cactivesupport%2Crake%2Cactiverecord%2Crack%2Cactivemodel%2Cbinding_of_caller%2Cdebug_inspector%2Cminitest%2Ci18n%2Cculerity%2Cnokogiri%2Crack-test%2Cmime-types%2Ccelerity%2Cxpath%2Caddressable%2Cconfiguration%2Cspoon%2Cffi%2Crails_serve_static_assets%2Crails_stdout_logging%2Cactionmailer%2Cactiveresource%2Cactionwebservice%2Cbundler%2Cactionview%2Cactivejob%2Cactioncable%2Ctherubyracer%2Cexecjs%2Cmulti_json%2Ccoffee-script%2Cturbolinks-source%2Cblankslate%2Chaml%2Chtml2haml%2Choe%2Csubexec
    Retrying dependency api due to error (3/4): Bundler::HTTPError Network error while fetching http://gems.ruby-china.org/api/v1/dependencies?gems=actionpack%2Crailties%2Csass%2Csprockets%2Ctilt%2Csprockets-rails%2Cthor%2Crails-dom-testing%2Cautoprefixer-rails%2Cjson%2Crdoc%2Csanitize%2Cactivesupport%2Crake%2Cactiverecord%2Crack%2Cactivemodel%2Cbinding_of_caller%2Cdebug_inspector%2Cminitest%2Ci18n%2Cculerity%2Cnokogiri%2Crack-test%2Cmime-types%2Ccelerity%2Cxpath%2Caddressable%2Cconfiguration%2Cspoon%2Cffi%2Crails_serve_static_assets%2Crails_stdout_logging%2Cactionmailer%2Cactiveresource%2Cactionwebservice%2Cbundler%2Cactionview%2Cactivejob%2Cactioncable%2Ctherubyracer%2Cexecjs%2Cmulti_json%2Ccoffee-script%2Cturbolinks-source%2Cblankslate%2Chaml%2Chtml2haml%2Choe%2Csubexec
    
  • 看到一个文章关于 DHH 怎么样组织他的 controller 的代码的 at 2016年03月09日

    前几天 在 Ruby Weekly 上也看到了,赞同这种原则。接触过一些老的项目,作为新手看到 一个 Controller 里面 几十个 action, 当时就晕了。

    Simple as pie, and junior developer friendly

  • OS X 很漂亮,很不顺心[已解决] at 2016年03月08日

    #24 楼 @lgn21st Cool! 一级棒!

  • OS X 很漂亮,很不顺心[已解决] at 2016年03月07日

    #17 楼 @crazyjin 用 Vagrant 吧,直接命令行启动、访问虚拟机。

  • OS X 很漂亮,很不顺心[已解决] at 2016年03月07日

    #11 楼 @crazyjin 你用 Homebrew 装 mysql, 然后 装上 LauchRocket 就可以管理了。

    另外,Homebrew 安装的 mysql 配置文件,一般在 这个路径,根据 mysql 版本有所不同:

    ➜  5.6.27 git:(master) pwd
    /usr/local/Cellar/mysql56/5.6.27
    ➜  5.6.27 git:(master) ls -l
    total 280
    -rw-r--r--   1 WuQi  admin   17987 Sep 18 22:24 COPYING
    -rw-r--r--   1 WuQi  admin  105656 Nov 16 15:51 INSTALL-BINARY
    -rw-r--r--   1 WuQi  admin     494 Nov 16 15:51 INSTALL_RECEIPT.json
    -rw-r--r--   1 WuQi  admin    2496 Sep 18 22:24 README
    drwxr-xr-x  46 WuQi  admin    1564 Nov 16 15:51 bin
    -rw-r--r--   1 WuQi  admin     593 Nov 16 15:51 homebrew.mxcl.mysql56.plist
    drwxr-xr-x   3 WuQi  admin     102 Nov  8 14:32 include
    drwxr-xr-x  11 WuQi  admin     374 Nov  8 14:32 lib
    drwxr-xr-x   4 WuQi  admin     136 Nov 16 15:51 libexec
    -rw-r--r--   1 WuQi  admin     943 Nov 16 15:51 my.cnf
    drwxr-xr-x  20 WuQi  admin     680 Nov 16 15:51 mysql-test
    drwxr-xr-x   3 WuQi  admin     102 Nov  8 14:32 scripts
    drwxr-xr-x   6 WuQi  admin     204 Nov  8 14:32 share
    drwxr-xr-x  28 WuQi  admin     952 Nov 16 15:51 sql-bench
    drwxr-xr-x   8 WuQi  admin     272 Nov 16 15:51 support-files
    

    最后,Mac 上面有很 NB 软件,是 Mac 平台独有的,比如 OmiFocus, Skech , TextMate, iTerm 等等。

  • OS X 很漂亮,很不顺心[已解决] at 2016年03月07日

    homebrew 装的 mysql, 可以用 LaunchRocket 来启动,不用配置文件吧

  • AcornCache - 基于 Rack 的 HTTP 缓存中间件 at 2016年03月05日

    COOL! 在 Ruby Weekly 也看到推荐了。

  • Code School Free Weekend at 2016年03月04日

    订阅过一段时间 Code School, 我也感觉不适合新手;要说适合老手,也不对,看完视频也挺费时间,不如直接搜搜文档。还是在通过项目来学习,学得更快。

  • 如何在用户注册表单获取 text_field value 并通过参数传到 controller 中 at 2016年03月04日

    @helperhaps @qinfanpeng 谢谢回复,最后参考了一位大神的代码,用 Ajax 解决了。

  • Mac OS X 中 brew 搭建 Ruby on Rails 环境 at 2016年03月04日

    既然是 Mac OS X, 为什么不直接在 Mac 上来搭建 Rails 环境呢?

    通过 Vagrant 搭建 的 Linux 环境,还有许多的依赖要装的。

  • [结束] 送几本《Docker 即学即用》 at 2016年02月19日

    [email protected]

  • 我们将会在 2016-01-23 (本周六) 对服务器停机升级 at 2016年01月22日

    好赞!👍

  • [转] Ruby 2015 年回顾 at 2016年01月13日

    :plus1:

  • 如何在用户注册表单获取 text_field value 并通过参数传到 controller 中 at 2016年01月08日

    #18 楼 @helperhaps 但是,第二个 form 注册也是需要手机号的,怎么在第二个 form 获取手机号呢?

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