Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
韩冰
@algo31031
会员
第 6341 位会员 / 2013-03-26

[email protected]
大连
11 篇帖子 / 82 条回帖
4 关注者
0 正在关注
1 收藏
GitHub Public Repos
  • Farmland_Demo 1

    Learning Gamemaker Studio 2

  • My-first-game 0

    A Simple Brick Game Which Has Only One Level And Some Other Stuff Within It

  • My-Second-Game 0

  • homeland 0

    :circus_tent: Open source discussion website.

  • A-simple-brick-game 0

    A simple brick game with only one level built with Gamemaker Studio 2

  • jiandanxinli.github.io 0

  • blog 0

    blog.banban.me

  • qd 0

  • 19wu 0

    19屋 - 专注于技术社区的活动平台, Based on Rails, AngularJS and Bootstrap

  • wechat-rails 0

    API and message handling for wechat in rails environment

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • rake db:migrate 报错 at 2013年11月16日

    试试: $ rvm @global $ gem uninstall bundler. 参考http://stackoverflow.com/questions/19849978/any-rails-command-gives-noexec-rb75in-setup-undefined-method-name 英语不给里,主要是搜 stackoverflow 会比较头疼

  • Magic Mouse 实在用不下去了,求推荐鼠标 at 2013年08月27日

    微软舒适蓝影鼠标 6000,http://product.pconline.com.cn/mouse/microsoft/467700.html。 手感很好,握着很舒服,缺点略轻。

  • paperclip 转换图片失败 at 2013年07月04日

    我也遇到了类似问题,运行$ which convert 得到的路径是/usr/local/bin/convert,但是实际的位置在/usr/bin/convert,把 Paperclip.options[:command_path] 改成/usr/bin/convert/之后,问题解决.

  • 尝试 delayed_job 使用独立数据库之后,script/delayed_job start 无反应,并且报错提示找不到对象 at 2013年06月24日

    #1 楼 @uudui 很有可能,但我只把 Delayed::Job 指定了单独的数据库,其他 model 没用 establish_connection 呢。而且新添加的 job 一创建完就会抛找不到对象的错误。

  • 在线密码管理,有需求就有实现 at 2013年06月23日

    #11 楼 @loveky 于是突然就不敢用了...

  • [福利] 七牛新后台上线 携手 Ruby China 放送现金券 at 2013年06月07日

    [email protected]

  • 短信接口编码格式 at 2013年04月28日

    之前也遇到过类似问题,后来查资料说要在编码格式后面加//IGNORE Iconv.iconv("GB2312//IGNORE","UTF-8//IGNORE",message).join('')

    #coding: utf-8
    class ShortMessage < ActiveRecord::Base
      require 'iconv'
    
      def send_token!(message)
        raise "系统已向您的手机发送过验证码,请勿频繁重复操作。" if self.invalid_date?
    
        if self.can_send?
          msg = Iconv.iconv("GB2312//IGNORE","UTF-8//IGNORE",message).join('')
          res = `curl "http://sms.mobset.com/SDK/Sms_Send.asp?CorpID=#{SMS_ID}&LoginName=#{SMS_NAME}&passwd=#{SMS_PWD}&send_no=#{self.phone}&msg=#{msg}"`
          status = res.first.to_i
          raise "发送失败,请检查您输入的手机号是否正确。" if status <= 0
          self.sent_at = Time.current
          self.message = message
          self.save!
        end
      end
    end
    
  • 求易用的 bootstrap 模板? at 2013年04月25日

    https://jetstrap.com/

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