Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
ColorfulBerry
@colorfulberry
会员
第 14006 位会员 / 2014-07-09

[email protected]
10 篇帖子 / 130 条回帖
4 关注者
3 正在关注
12 收藏
GitHub Public Repos
  • chatroom 2

    elixir demo for chat room

  • react-native-fetch-blob 1

    A project committed to make file acess and data transfer easier, efficient for React Native devel...

  • vue-slick-carousel 0

    🚥Vue Slick Carousel with True SSR Written for ⚡Faster Luxstay

  • stable-diffusion 0

  • xlsxtream 0

    Streaming & Fast XLSX Spreadsheet Writer for Ruby

  • mst-gql 0

    Bindings for mobx-state-tree and GraphQL

  • elasticsearch-rails 0

    Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

  • colorfulberry 0

  • colorfulberry.github.io 0

    colorfulberry blogs

  • gitea 0

    Git with a cup of tea, painless self-hosted git service

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 关于 Rails validate 提示的 HTML 代码 at 2014年10月11日

    @kepaning Thanks!

  • 《Linux 命令行》中文版 PDF 上线了,epub 也上了 at 2014年10月09日

    @happypeter peter Nice!

  • [上海][2014年11月8日] 中国高性能架构和运维大会,免费参会 + 免费午餐 + 茶歇! at 2014年10月09日

    已报名

  • 搜狐 paas 邀请码接力了~ at 2014年09月26日

    Tnahks!

  • 搜狐 paas 邀请码接力了~ at 2014年09月26日

    @xiaoyafighting 68o6Bkx54F43 已用

  • 搜狐 paas 邀请码接力了~ at 2014年09月26日

    @xiaoyafighting 第一个过期了!

  • [上海] Strikingly 团队诚聘前后端工程师,实习也可 (周六团队开放日等你来) at 2014年09月24日

    @dfguo 谢谢!

  • rvm install 2.0.0 安装报错 at 2014年09月22日

    @string2020 https://github.com/wayneeseguin/rvm/issues/2837 The same question!

  • rvm install 2.0.0 安装报错 at 2014年09月22日

    你更新下系统在执行吧。 我一般都这么执行 curl -sSL https://get.rvm.io | bash -s stable --ruby or curl -sSL https://get.rvm.io | bash -s stable --rails

  • [上海] Strikingly 团队诚聘前后端工程师,实习也可 (周六团队开放日等你来) at 2014年09月20日

    @dfguo 看到的太晚了,要不我就来看看的!

  • [上海] 众牛网络, 梦网众筹,张江,求程序员 at 2014年09月20日

    @caoxg 不错

  • [上海][2014年9月16日] 2014 年 9 月 周中聚会 at 2014年09月17日

    @cqcn1991 我就在李子圆同济校区,每天晚上有人在操场放风筝,挺好的!

  • [上海] 众牛网络, 梦网众筹,张江,求程序员 at 2014年09月16日

    聂工程师人很好。

  • [上海] 众牛网络, 梦网众筹,张江,求程序员 at 2014年09月16日

    等我练好了来!

  • [上海] 众牛网络, 梦网众筹,张江,求程序员 at 2014年09月16日

    Nice!

  • 现在都在用什么版本的 rails at 2014年09月11日

    4.2.0beta

  • rails validates 验证如何实现多个属性必须填一个 at 2014年09月05日

    @w7938940 Thanks!

  • rails validates 验证如何实现多个属性必须填一个 at 2014年09月05日

    @w7938940 woshishi

  • 什么叫数据接口?怎样导入导出?跨平台的数据怎么互通与同步? at 2014年09月05日

    API is application protocol interface! You can do a simple json api for you self app. You can request with data to the server then it return you depend you request data. First, not the data transfer. API document will tell you what data you need give and what return. give you a api guide with google map. https://developers.google.com/maps/documentation/embed/guide Simply, API is a parameters method with url!

  • rails validates 验证如何实现多个属性必须填一个 at 2014年09月03日

    @Rei OK thanks! 谢谢给的锚点链接 in user model

    calss User < Application::Base
    attr_reader :user_properity
    validate :user_properity_should_be_presence
    
    private
    def user_properity_should_be_presence
       if email.blank? and (name.blank? or fax.blank?)
          errors.add(:user_properity, "必须输入有邮件或者fax和phone")
       end
    end
    valide
    

    in _form.html

    div calss="error">
    <% if @user.errors[:user_properity].present? %>
    <%= @user.errors[:user_properity] %>
    <% end %>
    </div>
    
  • 请教一个问题,在远程服务器上如何调试? at 2014年08月28日

    建议你不要在服务器上调试,很危险的。为什么不把数据弄到本地呢?开发模式下随意折腾

  • rvm 安装 ruby 之后,必须执行 /bin/bash --login 才能执行 ruby 命令 at 2014年08月28日

    @string2020 @lgn21st @Teddy @googya @appell 5 楼的命令你执行一下就可以解决这个问题了 http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/

  • rails form_tag 表单中的 permit at 2014年08月26日

    @Rei 这个就相当于造了一各数组是么? 然后就在对应的数组中取值!

  • rails form_tag 表单中的 permit at 2014年08月26日

    @Rei 明白了,非常感谢

  • rails form_tag 表单中的 permit at 2014年08月25日

    @Rei params.permit(:user_id) 这个我是会做, 但是要要求用下面这中模式验证 params.require(:object).permit(:user_id) 据说是要 hidden_field_tag(:user_id, @user.id) 中的:user_id 加上 object 表示不知道怎么写,试了很多次都不得要领

  • 请教大家怎么部署 rails 应用到生产环境 at 2014年08月18日

    capstrano 再加上 Nginx, passenger

  • Ruby hash 不同表示方法的区别 at 2014年08月18日

    @Rei 谢谢!

  • redmine 发送邮件 提示发送邮件时发生错误 (getaddrinfo: ????????????????? ) at 2014年08月18日

    @yakczh 针对 dns 问题,你可以在你部署的机器上

    ping smtp.qq.com
    

    能通就表示 dns 没有问题。

  • ruby 数组中如何取出数字 at 2014年08月18日

    @kepaning 谢谢。非常感谢 那么取其他的就是

    a.select { |el| el.is_a? String} 
    
  • [上海] Ekohe 诚聘 Senior RoR/Senior iOS/Front-end Software Engineers at 2014年08月11日

    我已经来上海了,我可以来看看么?

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