Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
tumayun
@tumayun
VIP
NO. 967 / 2012-02-09

北京多点科技股份有限公司
北京
42 Topics / 769 Replies
15 Followers
3 Following
31 Favorites
奋斗的coder
GitHub Public Repos
  • master_slave 9

    Rails separate read and write

  • blog 0

    私人博客

  • xhttp 0

    http request

  • macos-golink-wrapper 0

    solution to "syscall.Mprotect panic: permission denied" on macOS Catalina 10.15.x

  • go-common 0

    哔哩哔哩 bilibili 网站后台工程 源码

  • eureka-ruby 0

  • remove_emoji 0

    Ruby Remove Emoji 😈🈲😱⁉️ for Ruby 2.x ~ 2.5.x / Rails 4、5.x

  • aliyun-oss-ruby-sdk 0

    Aliyun OSS SDK for Ruby

  • brakeman 0

    A static analysis security vulnerability scanner for Ruby on Rails applications

  • wx_pay 0

    An unofficial simple wechat pay gem

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Ubuntu 下国内的 gem 镜像有问题。 at June 12, 2012

    sudo apt-get install zlib1g zlib1g-dev

  • Ubuntu 下国内的 gem 镜像有问题。 at June 12, 2012

    zlib 没装 不是源的问题,是系统问题

  • rails 运行后台程序 at June 12, 2012

    Crontab + Resque

  • 何为 DCI and Rails ? at May 25, 2012

    @huacnlee sorry 这样让你讨厌了,可能是我求知心切了,sorry @Richie @hysios 感谢闵兄 感谢大婶

  • 何为 DCI and Rails ? at May 24, 2012

    不知道 DCI 为何物的可以看看http://webidea.diandian.com/post/2011-12-22/12791635

  • time_bandits - 让 Rails Log 里面的耗时信息更加详细 at May 24, 2012

    @huacnlee 能不能移驾http://ruby-china.org/topics/3460

  • time_bandits - 让 Rails Log 里面的耗时信息更加详细 at May 24, 2012

    好东西,谢谢@huacnlee 分享

  • 让人吐血的 Ruby `元编程' 特性. at May 24, 2012

    而第一个更好理解,block 内部的 self 就是 A 这个类,定义出来的当然是类方法, 只是 A.instance_eval { def say_hello; puts "hello"; end } 默认的 receiver 就是 self 而已

    楼主,切莫走火入魔呀

  • 让人吐血的 Ruby `元编程' 特性. at May 24, 2012

    define_method 是定义一个实例方法 Defines an instance method in the receiver. The method parameter can be a Proc or Method object. If a block is specified, it is used as the method body. This block is evaluated using instance_eval, a point that is tricky to demonstrate because define_method is private. (This is why we resort to the send hack in this example.)

  • 何为 DCI and Rails ? at May 24, 2012

    发现我理解错了,DCI应该是根据上下文动态的注入方法 比如权限管理中,user的权限可能是 N 种中的一种或者几种 然后把各个权限的方法抽象到另外一个module中 user根据所属权限,给user对象注入该权限的方法,如: user.extend(Admin) if user.is_admin?

    但是我想不到除了权限管理功能,DCI 还是用何种场景?

    求各位大神现身说教。

  • callbacks 适用场景 at May 24, 2012

    @lgn21st @hysios DCI and Rails 你们了解么? http://ruby-china.org/topics/3460

  • callbacks 适用场景 at May 24, 2012

    感谢@hysios @lgn21st

  • 何为 DCI and Rails ? at May 24, 2012

    没人了解么?

  • callbacks 适用场景 at May 24, 2012

    这个权衡是需要经验的

  • callbacks 适用场景 at May 24, 2012

    @ywencn 现在就是业务负责了,before_save 被滥用了,所以想重构下

  • callbacks 适用场景 at May 23, 2012

    无人问津。。。

  • 悲剧,/lib 目录下的 rb 文件直接修改,不生效? at May 20, 2012

    你 lib 放的东西要符合 rails 自动加载的命名规则,看看源码是怎么放的。

  • 要换公司了... Rails 招聘的话,还要写面试题目么? at May 16, 2012

    当初我没什么事的时候看书都被说 反正我觉得你要有主动学习的意识,要对技术执着

  • 要换公司了... Rails 招聘的话,还要写面试题目么? at May 16, 2012

    莫非是 yxd???别听组长虾扯淡,一点要自己去学习,找时间学习,而且测试是非常有意义的工作!!!

  • 要换公司了... Rails 招聘的话,还要写面试题目么? at May 16, 2012

    @verfino 说出你的公司,我感觉你在的我的上个公司工作,哈哈 是不是南昌....

  • 怎样用 A 变量的值作为 B 变量的名啊? at May 11, 2012

    eval set_instance_var

  • 吐槽下 Github 的新图标 at May 10, 2012

    感觉还行吧

  • 对象的属性名称是变量,怎样处理? at May 10, 2012

    额 明白了

  • 对象的属性名称是变量,怎样处理? at May 10, 2012

    obj.name obj.value ???

  • 成都这边用 Ruby / Rails 的公司多吗?需求大不? at May 08, 2012

    其实团 800 有项目在用 ruby 1.9.3 & rails 3.2.2

  • 如何测试 rails 网站在高并发下的性能? at May 04, 2012

    @Richie 我公司也用这个

  • 招聘的时候人家问是否玩游戏是出于什么目的 at May 02, 2012
    1. 如果是游戏公司的话,可能没有其他的意思,不是的话可能了解你是否贪玩而会忽略学习
    2. 了解你去的网站是灌水类型的还是技术类型
  • [上海] GitCafe 团队继续招聘 at May 02, 2012

    嗯 这个 idea 非常棒,以后发展的好的话肯定不错,只是我跳槽一家新公司,不然真想试试

  • 关于 activerecord 的写法,下面有错吗? at April 29, 2012

    一行一行的 p 出来看看吧

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