Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei
@Rei
Admin
NO. 1 / 2011-10-28

[email protected]
深圳
184 Topics / 9139 Replies
729 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 941

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 求助生成点密度图的方法 at November 28, 2013

    #7 楼 @cqcn1991 试试 HTML5 的 canvas? http://diveintohtml5.info/canvas.html

  • 有时候关联对象为空,大家在哪里检验和输出提示的? at November 28, 2013

    if student.school

  • 关于数据库字段类型 text 的新发现 at November 28, 2013

    没看懂。

  • 求助 VIM 对 SCSS 格式文件嵌套的支持 at November 28, 2013

    我的可以。我的配置 https://github.com/chloerei/vimrc

  • 求助生成点密度图的方法 at November 28, 2013

    这么复杂的图要找 http://d3js.org/ 了

  • 求助 VIM 对 SCSS 格式文件嵌套的支持 at November 28, 2013

    我在 ubuntu 装的 gvim,自带 scss.vim,不用额外插件就正确高亮对齐了。

  • 谁能说说 haml 如何使用?它是怎么生成菜单显示的? at November 28, 2013

    #11 楼 @zhangyanan 这不确定,Rails 框架自带 erb,猜测它会先进入模板队列,可能会优先。

  • 谁能说说 haml 如何使用?它是怎么生成菜单显示的? at November 28, 2013

    #9 楼 @zhangyanan 正常来说可以的,不知道你那发生什么问题,没有代码也判断不了。

  • 是否走偏了 at November 28, 2013

    开始项目的时候可以用 CSS 框架。 http://usablica.github.io/front-end-frameworks/

  • 是否走偏了 at November 28, 2013

    本来没有什么前端后端。

  • Rails 中 Symbol 的用法? at November 28, 2013

    我 3 楼起了个坏头,应该受到谴责,谴责之余,我要告诉楼主为什么这贴是个坏问题,顶楼的问题没有提供以下信息:

    1. 为了解决这个问题,查了什么资料了
    2. 为了解决这个问题,做过什么试验了
    3. 如果依然没有解决问题,遇到的了什么错误,详细信息是什么

    现在的问题,我看得出就是 gettting started 没看完,遇到一个不懂的词就粘贴过来问,这样的问题我想没有人会认真答的,除非他很闲。

    楼主也应该认真阅读《提问的智慧》 http://www.wapm.cn/smart-questions/smart-questions-zh.html

  • ActionMailer 的邮件模板想用其他方式怎么发? at November 28, 2013

    你是说用 Mailer render 内容,然后用别的 api 发?

    Mailer 对象的正文可以这样取

    CustomMailer.say_hello.body.raw_source
    => "hello\n..."
    
  • ActionMailer 的邮件模板想用其他方式怎么发? at November 28, 2013

    #6 楼 @cestivan 那么要看你用的邮件服务的 API 是什么啊

    像 mailgun 文档同时提供了 curl Ruby Python PHP Java C# 的例子

    http://documentation.mailgun.com/user_manual.html

  • Slim 难用死了。。。。 at November 28, 2013

    #22 楼 @Ryan 用工具做它该做的事,slim 是 html 模板。

  • ActionMailer 的邮件模板想用其他方式怎么发? at November 28, 2013
    1. 直接调用 api,比如 rest-client(简单)
    2. 自定义 Mailer,覆盖 deliver! 方法 http://mdushyanth.wordpress.com/2011/08/06/custom-mail-delivery-method-in-rails-3/
  • cancan 的问题 at November 27, 2013

    https://github.com/ryanb/cancan/wiki/authorizing-controller-actions

    这个时候传进去的

    authorize! :show, @project
    
  • Bootstrap 2 or 3 at November 27, 2013

    #2 楼 @Peter 还没找过,我看文档完成度已经很高了,不用二次开发。

  • Bootstrap 2 or 3 at November 27, 2013

    我不喜欢 .col-xs- 这样的 class,分得太细了。

    如果新建项目我会用 http://semantic-ui.com/

  • 有没有必要买一本《Ruby 元编程》 at November 27, 2013

    这书必看。

  • Rails 中 Symbol 的用法? at November 27, 2013

    Read The Fu*king Manual

  • 奇怪的坑:font-awesome-rails at November 27, 2013

    #20 楼 @chairy11 如果觉得 rails_admin 够用,不如找个数据库的图形客户端好了。

  • 奇怪的坑:font-awesome-rails at November 27, 2013

    #17 楼 @chairy11 之前有人说我那篇“你不需要这些 gem”应该把 rails_admin 写上,我说没看见人用,祸害不大,不用写了。

  • 奇怪的坑:font-awesome-rails at November 27, 2013

    浏览器调试直接看现在的 css 是什么样的

  • Slim 难用死了。。。。 at November 27, 2013

    不要强迫自己用不喜欢的东西。

  • 关联关系有这么强大吗? at November 27, 2013

    #4 楼 @zhangyanan 这是 Ruby

  • 关联关系有这么强大吗? at November 27, 2013

    Right#url 是个 public 方法

  • 类似淘宝的超多二级域名是怎么搞的。。 at November 27, 2013

    请轻喷

    这意思是默认回帖就是喷?

  • 奇怪的坑:font-awesome-rails at November 26, 2013

    #3 楼 @chairy11 不会,说不定还会降级 http://ruby-china.org/topics/11049

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