Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Eric-Guo
@ericguo
高级会员
第 1665 位会员 / 2012-03-31

[email protected]
天华建筑设计
上海
46 篇帖子 / 1375 条回帖
181 关注者
244 正在关注
74 收藏
选Ruby是符合我爱钱爱金爱宝石气质的…
GitHub Public Repos
  • wechat 1327

    API, command and message handling for WeChat in Rails

  • wechat-starter 351

    WeChat web app with wx_pay in rails

  • tailwindcss-jit-stimulus 19

    A template with Rails 7.1, Shakapacker 7.2, TailwindCSS 3 and Stimulus 3.0

  • coreui4-rails-starter 12

    The CoreUI 4 Rails starter

  • pgac_demo 11

    Rails 7.2 Action Cable chat room using AnyCable as backend

  • product_hunt 5

    Demonstrate new Rails 5.1 feature: Assets on Yarn, System tests with Capybara and unified form_wi...

  • openproject 2

    OpenProject is the leading open source project management software.

  • dify-ruby-sdk 2

  • homeland 1

    :circus_tent: An open source forum/community system based on Rails, developed based on Ruby China.

  • openproject-proto_plugin 1

    Exemplary OpenProject plugin demonstrating different ways to extend OpenProject.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Ruby 可以用来开发 Windows 软件吗? at 2013年03月22日

    其他我不清楚,gtk 的 gems 可还是经常更新哦,Windows 和 Linux 平台基本同步更新。

  • Ruby 可以用来开发 Windows 软件吗? at 2013年03月21日

    可以看看Visual Ruby,基于 gtk+

  • 什么叫企业级? at 2013年03月21日

    有企业肯出 100 万以上买你的软件和服务,你就可以认为你达到了企业级,所以企业级是一个比较高的门槛,你需要一家公司,能够开出 100 万增值税发票的公司,成立这么家公司难度很大,当然找到肯出 100 万买你软件的企业难度更大……

  • 请问有人用 windows 下的 command line 么,请教乱码的问题…… at 2013年03月19日

    ansicon.exe 和 dll copy 到 c:\Windows 目录下,然后更改 ruby 的命令行快捷方式,前面加 ansicon.exe 即可。

  • 请问有人用 windows 下的 command line 么,请教乱码的问题…… at 2013年03月19日

    安装ansicon即可。

  • [Update] 大家都用的什么鼠标 -- 展示结果 at 2013年03月19日

    Logitech G400 和 G300 都用,感觉 G300 手感更好,很奇怪……

  • rake aborted! 的问题求救! at 2013年03月19日

    升级 gem rdoc 到 2.4.2+,不是很明显的报错么?

  • [上海][2013年03月19日] Ruby Tuesday 活动公告 at 2013年03月19日

    还在闵行……

  • 我觉得我是用 Java 的方式在写 ROR,求修改 at 2013年03月17日

    用 ransack 和 will_paginate,然后 index 方法类似这样:

    class Shift6SChecklistsController < ApplicationController
      def index
        @q = Shift6SChecklist.search(params[:q])
        @shift6_s_checklists = @q.result.order("created_at DESC").paginate(:page => params[:page], :per_page => 10)
    

    view 类似这样:

    <%= search_form_for @q, :class => "well form-search" do |f| %>
      <%= link_to 'Check 6S', check_shift6_s_checklists_path, :class => 'btn btn-primary' %>
      <% if user_signed_in? %>
      <%= link_to 'My Items', shift6_s_checklists_path(:q => {:resp_emp_badge_or_resp_supervisor_badge_eq => current_user.badge}), :class => 'btn' %>
      <% end %>
      <label class="checkbox">Badge or ID:<%= f.text_field :resp_emp_badge_or_resp_supervisor_badge_or_id_eq, :class => 'input-small search-query', :placeholder => 'Badge or ID', :title => 'Type here to search Employee ID or item ID.'  %></label>
      <label class="checkbox">Finding or Action contain:<%= f.text_field :finding_fact_or_resp_action_cont, :class => 'search-query',:placeholder => 'Finding or Action', :title => 'Type here to search finding or action' %></label>
      <label class="checkbox"><%= f.check_box :close_date_null -%>Open only</label>
      <br />
      <label class="checkbox">Type:<%= f.select :check_type_eq, :check_type => Shift6SChecklist.type_description.keys.unshift('')  %></label>
      <label class="checkbox">Area:<%= f.select :station_eq, :area => Shift6SChecklist.station_collection.keys.unshift('') %></label>
      <label class="checkbox">Shift:<%= f.select :create_shift_code_eq, :create_shift_code => User.shift_collection.unshift('') %></label>
      <%= f.submit :class => "btn" %>
      <%= link_to 'Export Excel CSV', shift6_s_checklists_path.concat('.csv') %>
    <% end %>
    
    <%= will_paginate @shift6_s_checklists %>
    
  • 搜索相关的 gem? at 2013年03月17日

    ransack,和 meta_search 同一个作者,我不用 mongoid,不过目测只要支持 activerecord 的类 where 方法,应该都是可用的…

  • Rails 中使用 Bootstrap 效果请教 at 2013年03月17日

    #3 楼 @nightire 多谢,这个 navbar-static-top 我还第一次知道…

  • [Teahour.fm] Gitlab 专题的问题征集 at 2013年03月13日

    Gitlab 有没有考虑支持类似 Gitolite 的 Mirror 特性?已经用了一年的Gitolite,在犹豫是不是直接上 Gitlab 5.0

  • 来,半夜睡不着的进来,让我的小情人给各位卖个萌 at 2013年03月12日

    几天了?那么小连睫毛都有了,长大一定是个美人啊!

  • 买个 Surface Pro 玩 Linux ... at 2013年03月09日

    Surface 做工的确不错,我有个 RT 的,续航也很好(轻松 10 小时),可惜软件太少太封闭,如果能跑 Ubuntu ARM 版就牛叉了,可以直接做 Rails 开发环境,Pro 续航太差,价格太高,两个比较麻烦的地方。

  • 我想在 Heroku 上部署个 CMS/ 或者 BLOG, 请问那比较适合? at 2013年03月07日

    还有一个选择是octopress,优点是用户基数大,纯静态网页对环境要求非常小,缺点是不是动态(看你怎么理解,没有数据库要求也算优点?)

  • [上海][2013年3月5日] Ruby Tuesday 活动召集 at 2013年03月04日

    #22 楼 @lgn21st 恭喜恭喜,我老婆这周也要发动,给我添丁啦!

  • Ruby 和 Rails 的书好老 at 2013年03月04日

    其实我感觉,一本 rails guides 足以…

  • 请问大家 Ruby 书中哪本像 Java 中的 Thinking in Java 一样经典 at 2013年03月03日

    #15 楼 @i5ting Effective Java 和元编程也差好远啦!元编程更像C 专家编程的风格……

  • [已解决] 安装 ruby 的诡异问题,话说我不算新手了啊.... at 2013年03月03日

    source 问题?

    echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
    logout
    
  • 运行 rspec 时的一些乱码怎么解决? 这种 at 2013年03月03日

    安装ansicon

  • 如何判断对象是否存在? at 2013年03月03日

    if @company.biz_licence.present?可能更好?

  • 请问大家 Ruby 书中哪本像 Java 中的 Thinking in Java 一样经典 at 2013年03月02日

    #3 楼 @lgn21st 我还真认真读过 Java 编程思想,第二版,2002 年第一次印刷,价格 99 元,把书摊在地上,当时绝对可以买上海这么大一块 A4 纸的房子面积哦! 至于经典之处,我认为一个是首推了免费的 html 版本,其余么,反正事无巨细把 Java 语言的特性都说了一遍,保证你读完也出不了实际的活就是了,哈哈。

  • 请问大家 Ruby 书中哪本像 Java 中的 Thinking in Java 一样经典 at 2013年03月02日

    Rails 下必须是Agile Web Development with Rails Ruby 就比较纠结,The Ruby Programming Language或者Programming Ruby难分仲伯

  • 请问大家 Ruby 书中哪本像 Java 中的 Thinking in Java 一样经典 at 2013年03月02日

    已删除

  • sublime text 里面怎么实现 action 和 view 之间跳转的这种功能 at 2013年03月02日

    Rails Related Files

  • 使用 anjlab-bootstrap-rails 时,无法加载 css 样式 at 2013年03月01日

    把项目移到 C 盘,再运行试试?

  • ActionMailer 和不同邮箱的问题 (已经搞定!哈哈) at 2013年02月27日

    telnet 可发不代表 actionmailer 可发,比如 HELO 指令 SMTP 不支持,在 telnet 上你可以直接忽略,但是 actionmailer 却会报错,不过可能可以通过对 actionmailer 修改解决,虽然我最终通过搭建一个 smtp relay 服务解决这个问题。。。

  • 部署报错 Could not find activesupport-3.2.9 in any of the sources (Bundler::GemNotFound) at 2013年02月27日

    可能你在本地帐号装的 activesupport gems,然后 passenger 运行在另外一个帐号下,所以找不到,检查一下/var/www/mysite 的 owner,必要的话用 chown 改一下。

  • ActionMailer 和不同邮箱的问题 (已经搞定!哈哈) at 2013年02月25日

    这个问题曾经也困扰了我很久,最后我发现,有些 SMTP 服务器像 Exchange Server 是不支持HELO 或 EHLO 指令的,你可以用telnet 测一下确认,我是通过本地建一个 postfix 服务,然后用 SMTP relay 模式再转发邮件解决的,希望对你有帮助吧……

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