• include 的 module 会变成一个匿名单列类,加入被 include 的继承体系中,与之对应的是 perpend

  • 干掉你代码中的坏味道 at 2016年08月05日
  • 本来是离线看看,一看你写的 1.5,忍不住登上来,说一声

  • 666,没去度假,搬砖?

  • #4 楼 @pynix 这个只是个 controller 中的写的,启动的时候,是不会执行的。

  • #1 楼 @piecehealth 我也觉得是这样,可为啥那个 gem 里居然获取到了。是不是有什么方式可以?

  • #8 楼 @haoqu 愿意要我吗?我也不知道我的基础到底有多扎实

  • #1 楼 @haoqu 要求高和 “初级岗位” 如何匹配,意思是 “初级岗位” 也是要招有潜力的?

  • Data Warehouse Schema Design at 2015年08月19日

    不过确实,这样的设计,插入数据和查询数据是个麻烦的事情

  • Data Warehouse Schema Design at 2015年08月19日

    我这个 java 写多的人,不经一问,难道不应该是这样设计表结构的?

  • 我最近也想这个问题,我们最后采用了等级方式,根据活跃度,分了好几个等级的用户,最活跃的用户干脆就放到了 elasticsearch 里。

  • #5 楼 @lcwhot 我邮件回复了,我周三可以安排面试,你那边可以具体一下时间点,反正,我是走过去的。

  • 看到你发的面试邀请了,百度地图一查地址,我去,高碑店,这么近,可以面基一下

  • 一来就填各种登记表,然后被安排在 “角落” 等通知,我表示还没有面试了,目前第一印象很差

  • 我也是醉了

  • #2 楼 @jmsocial 你工作地点具体北京哪里啊

  • 路过,压力好大

  • 我先发一条,看你回复的话在考虑

  • #3 楼 @chanshunli 主要是胸大

  • #9 楼 @flowerwrong 奇怪了

    ➜  activemodel git:(master) ✗ bundle install
    Updating git://github.com/rails/arel.git
    fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
    Retrying git fetch --force --quiet --tags 'git://github.com/rails/arel.git' "refs/heads/*:refs/heads/*" due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/rails/arel.git' "refs/heads/*:refs/heads/*"` in directory /Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b has failed.
    If this error persists you could try removing the cache directory '/Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b'
    fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
    Retrying git fetch --force --quiet --tags 'git://github.com/rails/arel.git' "refs/heads/*:refs/heads/*" due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/rails/arel.git' "refs/heads/*:refs/heads/*"` in directory /Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b has failed.
    If this error persists you could try removing the cache directory '/Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b'
    fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
    Git error: command `git fetch --force --quiet --tags 'git://github.com/rails/arel.git'
    "refs/heads/*:refs/heads/*"` in directory
    /Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b
    has failed.
    If this error persists you could try removing the cache directory
    '/Users/ane/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/cache/bundler/git/arel-8151ac946644aab31601d7c0ed944eb9d7ea1e6b'
    
  • #7 楼 @flowerwrong 你的测试没问题?

  • #5 楼 @flowerwrong 好像是这么回事,刚刚也是搜到这结果

  • #3 楼 @flowerwrong 先是

    
    /Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/bundler-1.7.6/lib/bundler/source/git/git_proxy.rb:151:in `allowed_in_path': The git source git://github.com/rails/arel.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
        from /Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/bundler-1.7.6/lib/bundler/source/git/git_proxy.rb:47:in `revision'
        from /Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/bundler-1.7.6/lib/bundler/source/git.rb:212:in `revision'
    

    然后我就 bundle install

    Updating git://github.com/rails/arel.git
    Fetching git://github.com/rails/sprockets-rails.git
    fatal: ambiguous argument '2-1-stable': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    Git error: command `git rev-parse 2-1-stable` in directory
    /Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/cache/bundler/git/sprockets-rails-b90575d71445d74093061ab2de02b6c006ea5b4a
    has failed.
    If this error persists you could try removing the cache directory
    '/Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/cache/bundler/git/sprockets-rails-b90575d71445d74093061ab2de02b6c006ea5b4a'
    

    然后我就 mv 这个文件&bundle install

    结果还是

    Updating git://github.com/rails/arel.git
    Fetching git://github.com/rails/sprockets-rails.git
    fatal: ambiguous argument '2-1-stable': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    Git error: command `git rev-parse 2-1-stable` in directory
    /Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/cache/bundler/git/sprockets-rails-b90575d71445d74093061ab2de02b6c006ea5b4a
    has failed.
    If this error persists you could try removing the cache directory
    '/Users/ane/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/cache/bundler/git/sprockets-rails-b90575d71445d74093061ab2de02b6c006ea5b4a'
    
  • #1 楼 @flowerwrong 问题就是会报错,估计是环境问题,我看看吧

  • #6 楼 @flowerwrong Module.name