Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
汪维
@winse
会员
第 27823 位会员 / 2016-08-01

[email protected]
深圳
4 篇帖子 / 53 条回帖
2 关注者
3 正在关注
12 收藏
⎝≧⏝⏝≦⎠
GitHub Public Repos
  • WinseBlog 2

    blog

  • Halite2Bot 1

    A bot for Halite2

  • cnn 1

  • mcworld 1

  • golang_study 0

  • DC_shoplazza 0

    Templates for use in the Domain Connect Protocol

  • react_student 0

    for student rails 6 with webpacker

  • chaofun-front 0

    炒饭( https://chao.fun )前端工程

  • pyq 0

  • Agora-Miniapp-Tutorial 0

    Hello world for Agora SDK running in https://en.wikipedia.org/wiki/WeChat#WeChat_Mini_Program

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Draw ERD online at 2020年04月12日

    😂 没,当时没传,现在不怎么方便去生成

  • Draw ERD online at 2020年04月12日

    我这有个能根据 schema.rb 生成表关系图像的,schema_imageable

  • [远程] 美国创业公司招聘全职/兼职 Ruby 程序员 at 2019年09月03日

    好像都没公司名称

  • [长沙] 国防科技大学招聘 ruby 工程师一名 at 2019年03月04日

    年年招么 去年看到过

  • 如何按照创建时间降序排列 再按照 system_id 去重?? at 2018年09月27日

    distinct ?😀

  • Grape 如何查看生成的 URI? at 2018年03月07日

    https://segmentfault.com/a/1190000003874442

  • Ruby 25 岁生日 #ruby25 at 2018年02月24日

    😋 写 Ruby 使我快乐

  • 如何在 controllers 中让查询数据按某种规则展示在页面中 at 2018年02月02日
    User.joins(:payments)
      .select('users.id, SUM(payments.amount) AS payment_amount')
      .group('users.id')
      .order('payment_amount')
    
  • action mailer 可以在发送之前让发送的人进行编辑吗 at 2018年01月29日

    可以做个功能,先展示邮件内容,一些可以编辑的内容用参数代替,点击发送的时候再传回后台进行邮件发送😅

  • ruby schema.rb 文件是干什么用的 at 2018年01月03日

    也有可能一个 migration 中创建了多个表

  • 请问各位大佬,在已知一个 url 的情况下有什么办法能确定这个 url 对应的路由辅助方法 at 2018年01月02日

    编码的时候还是程序运行的时候啊😅

  • Rails 里面的 model 都是继承自 ActiveRecord::Base,请问中间的: : 是干什么用的 at 2017年12月21日

    项目中那么写是为了符合 Rails 的自动加载约定吧,只要你的文件处于autoload_paths下面,Rails 就会按照约定去加载对应的类、class Somename::Name对应的目录结构就是 somename/name.rb,

  • Rails 里面的 model 都是继承自 ActiveRecord::Base,请问中间的: : 是干什么用的 at 2017年12月21日

    定义的时候是简写

    module ActiveRecord
      class Base
      end
    end
    

    用的时候是调用常量 ActiveRecord::Base

  • 如何使用 validates 及 uniqueness 实现两个字段唯一确定一条记录 at 2017年10月30日
    validates_uniqueness_of :project_id, scope: :user_id, ...
    
  • 请教关于 js 点击事件绑定后,如何在 HTML 中 显示 js 参数 的问题 at 2017年10月23日

    这样清楚多了😂

  • 请教关于 js 点击事件绑定后,如何在 HTML 中 显示 js 参数 的问题 at 2017年10月23日

    你塞个变量不就行了。。。。还有这种问题百度一下就能解决

  • 请教关于 js 点击事件绑定后,如何在 HTML 中 显示 js 参数 的问题 at 2017年10月23日
    $("#search_date_from").val("2017-10-23 10:00:00");
    
  • uninitialized constant LetterAvatar::HasAvatar at 2017年09月14日

    config.autoload_paths += %W(#{config.root}/lib) 将 lib 目录加入到 rails 的自动加载目录

  • 关于符号 ” 被转义成 " 的解决方法,不使用 raw 和 html_safe 方法!!! at 2017年08月31日

    而且不建议在 view 进行数据库操作

  • 导出、读取 excel 用哪个 gem 包比较好啊 at 2017年08月30日

    :change_horizontal_alignment 这个方法有些问题啊

    sheet.change_row_horizontal_alignment current_row, 'center'
    current_row += 1
    sheet.change_row_horizontal_alignment current_row, 'right'
    

    期望前一行问题居中对齐,后一行居右对齐,但是结果全部居右了😅 而且为啥我导出的文件都有问题

  • 导出、读取 excel 用哪个 gem 包比较好啊 at 2017年08月29日

    生成 excel 用这个 gem 方便吗

  • 模型关联的查询问题 at 2017年08月07日
    Article.joins(:type).where('types.class_code = ?', '新闻类型')
    
  • 周五闲谈,method 自身对比时竟不相等 at 2017年08月04日

    两个方法不是同一个对象的,你这里有两个 Date.today,牵扯到影子类

  • 招募项目合伙人 at 2017年07月19日

    发之前页好歹看一下<<招聘栏目规则>>😂

  • [北京、深圳、广州] 九章招聘啦!!!!!!!Ruby 猿们看这里!!不打卡、午餐费补贴 at 2017年07月11日

    深圳这边有多少小伙伴呐😋

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