Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李广松
@liguangsong
Member
NO. 18526 / 2015-04-29

15 Topics / 50 Replies
0 Followers
0 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 用 Jenkins 做的服务器工程的构建,构建中权限问题怎么解决 at January 20, 2016

    @akirapanda 谢谢,问题解决了,但是我的 jenkins 的 execute shell 重启 nginx 是说我权限不足

  • 用 Jenkins 做的服务器工程的构建,构建中权限问题怎么解决 at January 19, 2016

    jenkins 用户组的问题?

  • Ruby 微信开发群 at December 08, 2015

    赞一个

  • gem “weixin_authorize” 出现错误{"errcode":45009,"errmsg":"api freq out of limit"} at December 08, 2015

    这里的 timeout 和 open_timeout 不知道是怎么使用的,没有查到说明

  • gem “weixin_authorize” 出现错误{"errcode":45009,"errmsg":"api freq out of limit"} at December 08, 2015

    急急

  • 数据怎么查询才能优化查询速度 at November 19, 2015

    @nine 你的方法是对的,是我后面排序写的是.order("updated_at desc") 不对,而应该写成.order(updated_at: :desc)

  • 数据怎么查询才能优化查询速度 at November 18, 2015

    @tianlitao 这样写也有错误

    Mysql2::Error: Unknown column 'user_informations.degree本科' in 'where clause': SELECT `notes`.* FROM `notes` WHERE (user_informations.degree本科)
    

    如果是 UserInformation.includes(:notes).where("notes.content" => "s" ) 就是能用的

  • 数据怎么查询才能优化查询速度 at November 18, 2015

    @nine Note.includes(:user_information).where("user_information.degree" => '专科' ) 出现错误

    Mysql2::Error: Unknown column 'user_information.degree' in 'where clause': SELECT `notes`.`id` AS t0_r0, `notes`.`content` AS t0_r1, `notes`.`created_at` AS t0_r2, `notes`.`updated_at` AS t0_r3, `notes`.`img` AS t0_r4, `notes`.`publisher_id` AS t0_r5, `user_informations`.`id` AS t1_r0, `user_informations`.`name` AS t1_r1, `user_informations`.`sex` AS t1_r2, `user_informations`.`age` AS t1_r3, `user_informations`.`work` AS t1_r4, `user_informations`.`height` AS t1_r5, `user_informations`.`Nickname` AS t1_r6, `user_informations`.`image` AS t1_r7, `user_informations`.`created_at` AS t1_r8, `user_informations`.`updated_at` AS t1_r9, `user_informations`.`stars` AS t1_r10, `user_informations`.`contact` AS t1_r11, `user_informations`.`degree` AS t1_r12, `user_informations`.`address` AS t1_r13 FROM `notes` LEFT OUTER JOIN `user_informations` ON `user_informations`.`name` = `notes`.`publisher_id` WHERE `user_information`.`degree` = '专科'
    
  • 数据怎么查询才能优化查询速度 at November 18, 2015

    @nine 在 articles 加上什么字段 能具体说明下么

  • rails 里怎么实现轮询 at October 23, 2015

    @ripple 万分感谢🙏!我去尝试下

  • rails 里怎么实现轮询 at October 22, 2015

    @ripple 你的意思是不是两个进程同时操作数据库,也不会产生冲出?然后线程里的的数据库链接要怎么手动释放

  • rails 里怎么实现轮询 at October 19, 2015

    @ywjno 已修改

  • rails 里怎么实现轮询 at October 19, 2015

    @ripple Thread 新建进程 会不会出现两个进程同时操作数据库的情况

  • rails 里怎么实现轮询 at October 19, 2015

    @ripple 谢谢

  • rails 里怎么实现轮询 at October 19, 2015

    @ripple 没有关系,我只是不知道放到哪里,怎么用,我现在用的是 whenever

  • rails 里怎么实现轮询 at October 19, 2015

    @ywjno rails

  • rails 里怎么实现轮询 at October 19, 2015

    @ywjno 这个方法我应该放到哪里,如果放到 controller 里是不是每个人访问都会创建一个进程,但是希望有一个轮询进程

  • Rails 里微信公众号相关开发能本地测试吗? at September 18, 2015

    建议申请一个微信测试帐号,应该可以配置本地 ip 测试,至少我把 js 调试的接口设成本地的没有错误提示

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @rei 。。。,好专业

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @rei 私有库,已经发到你邮箱上了,经理不让发上来

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @rel 前台的页面的 head 里只有

    <script src="/javascripts/dynamic.js"></script>
    <script src="/javascripts/jquery.timeago.js"></script>
    

    assest 里的文件都没有去加载 我直接http://xx.xxx.xx.xx/paht 还能获取到 css 和 js 页面的里的图片加载正常

    我跳到另一个页面去,又可以加载完成

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @flowerwrong 我做 ruby 时间有点短,对这个流程,不太熟悉,你说的 precompile 是指?

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @rei 受教了,我马上看一下

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @flowerwrong 加过内存了,等待中,期待不要出错了

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    @liwei78 assets precompile 过程成功了但是浏览器会时不时的加载不上 assets 里的文件,等一会的话就,加载又恢复正常

  • 部署到服务器 asset 里的 css 和 js 时不时加载不上,内存不足么? at August 31, 2015

    这个问题纠缠我好久了,不知道怎么搞它

  • UPYUN 云存储免费了! at August 28, 2015

    沙发

  • crontab 没有执行 rackup 的权限? at August 28, 2015

    @huacnlee 和@lgn21st,明白了我试验一下去,第一做这类问题没有什么经验,就知道 crontab。。。

  • Faye 部署到服务器上前台握手失败 at August 28, 2015

    -o 0.0.0.0

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