Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
@a-wing
会员
第 30657 位会员 / 2017-03-04

深圳
11 篇帖子 / 131 条回帖
8 关注者
0 正在关注
5 收藏
GitHub Public Repos
  • webrtc-book-cn 886

    中文翻译 《 Real-Time Communication with WebRTC 》

  • Menhera-chan 329

    可爱的 Menhera-chan ~

  • filegogo 282

    A file transfer tool that can be used in the browser webrtc p2p

  • japanese-50-sounds 11

    这回一定会熟练掌握日语五十音

  • kiss2ugo 7

    Archlinuxcn build API V2 https://build.archlinuxcn.org/api/v2/packages

  • lightcable 7

    lightweight websocket broadcast server

  • dotfiles 6

    a-wing's config files

  • endplayer 5

    :end: Electron Native Danmaku Player

  • blog 2

    新一的个人博客

  • a-wing 1

    It me

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 大家都去哪里获取信息? at 2018年07月18日
    • Twitter
    • Telegram
  • 整理了一下 Rails 常用命令 at 2018年07月16日

    rails stats 学习了

  • 有没有 Vue 开发的经典案例,让我震惊震惊 at 2018年07月13日

    体验和框架无关吧。。。。。。。。。。

    https://github.com/Rocket1184/electron-netease-cloud-music

    https://github.com/aniiantt/updrive

  • Vue + Rails 做前后端分离,请问登录该如何处理呢 (原系统用的 Devise),恳请大佬们提建议 at 2018年07月13日

    我直接做成 OAuth 的登录了。。。用 doorkeeper 和 devise 对接。。。。。。前端的登录状态管理用 vuex

  • 能不能以公司网不好影响开发为理由提离职 at 2018年07月13日

    enen. 一个好公司的网要自带科学上网。。。打开 google 比打开 baidu 还快

  • 0 基础想学 rails 付费请大神带带我 at 2018年07月09日

    和我一起写社区的开源项目吧,功能很简单的项目

    昨天刚开的坑:

    https://github.com/a-wing/KISS2U

  • 需要做个类似 58 同城的分类信息系统,但是不明白其数据结构 at 2018年07月09日

    目前的 CMS 基本上都有啊。

    手机,租房 用不同表啊。

    一般在 php 的系统上创建表单结构时动态创建数据表

    rails 的类似项目不清楚

  • 想系统的看一下 Rails 的源码,有什么好的阅读方式吗? at 2018年06月25日

    坐等 LZ 到看不下去的时候。看了也看不懂,看懂了也不会用,会用也没啥用系列。

  • [深圳] 2018-06-30 Ruby 技术交流活动 [活动报名] at 2018年06月08日

    这报名通道是不是有点泄露隐私啊?

  • [深圳] 2018-06-30 Ruby 技术交流活动 [活动报名] at 2018年06月08日

    去凑凑热闹

  • Capistrano + Rails 5.2 自动化部署 at 2018年06月05日

    相信玩Ruby On Rails的基本都是Mac OS用户......................还有 archlinux 用户。。。

    Capistrano 我一直没明白优势在那?。。。目前用自己写的 shell 脚本和 jenkins 通过 git 不同分支来自动化发布

  • [深圳] DJI 大疆创新 互联网团队 招聘 Ruby 工程师 & 其余职位若干 (内推 15-40k) at 2018年05月29日

    和 rei 深度讨论交流。这福利6啊

  • rails 关于 send_file 方法 at 2018年05月25日

    非常感谢

    最后解决:

    send_file("#{Rails.root}/public/plans/#{@plan.file}")
    
  • rails 关于 send_file 方法 at 2018年05月25日

    线上怎么进 rails 的 console 啊。。。

    irb(main):001:0> Dir.entries("public/plans").grep(1527229786)
    => []
    irb(main):002:0>
    
    ls public/plans/1527229786
    public/plans/1527229786
    
  • rails 关于 send_file 方法 at 2018年05月25日

    是路径问题。。我直接写绝对路径就好使了

    send_file(File.join('home','rails', '********', 'public', 'plans', @plan.file))
    

    产品环境的执行路径貌似不是当前路径

  • rails 关于 send_file 方法 at 2018年05月25日

    就是加到 777 还是不行。。。

    send_file(File.join('public', 'plans', @plan.file))

    倒觉得是 send_file 开发和生产环境表现不一样

  • rails 关于 send_file 方法 at 2018年05月25日

    不不。这个两个地方。都读取public/plans/ 里的文件。但都读不到。。。一个是点击下载 使用 send_file。另一个是 ActiveJob 的异步任务

  • rails 关于 send_file 方法 at 2018年05月25日

    绝对有。。。而且其他在读取 public/plans/ 的文件也报错

    像这样

    [ActiveJob] [MissionsRunJob] [57448be1-a767-49f1-8c16-e3c662525a52] Error performing MissionsRunJob (Job ID: 57448be1-a767-49f1-8c16-e3c662525a52) from Async(default) in 967.24ms: Errno::ENOENT (No such file or directory @ rb_file_s_stat - public/plans/1527229786)
    

    但在开发环境就正常

  • 近两年来 Web 开发有什么革命性的进展么? at 2018年05月15日

    JavaScript 要一桶浆糊 了。。。。。。。

  • 如何优雅的在 rails 动态的添加表单项目 at 2018年04月28日

    这个我用了。。。我指的是在 view 层来动态的添加表单项。在视图上的实现

  • PHP、Java、Python、Ruby 到底应该学哪一个? at 2018年03月27日

    垃圾桶叫 Java 笑死 23333333

  • 关于在 rails 库里使用 ruby gem 该怎么配置 at 2018年03月27日

    突然反应过来了。。。。。

  • 关于在 rails 库里使用 ruby gem 该怎么配置 at 2018年03月27日

    刚刚发现了个神奇问题 gem 'net-ssh', :require => 'net/ssh' 正常导入 gem 'net-ssh', :require => 'net/scp' 找不到模块。。。

  • 关于在 rails 库里使用 ruby gem 该怎么配置 at 2018年03月27日

    我加到 Gemfile 里的。没有用啊。文档上说 Gemfile 里的会自动加载,猜测应该是 Gemfile 里的包名和 require 到名不一样所致

  • 分享__水。。从开发到上线 Rails 项目自动部署 at 2018年03月14日

    果然。我就猜到自己写脚本自动部署感觉不太对

  • [深圳] DJI 大疆创新招聘 Ruby 工程师 (saberma 内推 15-40k) at 2018年03月10日

    我们公司也是做无人机的。前后端分离。。后端也是用 rails

  • 萌新问题,关于 ActiveRecord at 2018年02月01日

    对对,是这样的。要给每一个 Node 加 video

  • 萌新问题,关于 ActiveRecord at 2018年02月01日

    ‘rails', '~> 5.1.4

    ruby 2.5.0p0

  • 萌新问题,关于 ActiveRecord at 2018年02月01日

    我在 Node 类里加上 attribute :video, :string 提示没有 video 对象

    nodes.serializable_hash 提示没有 serializable_hash 对象

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