Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
root
@Runable
会员
第 35161 位会员 / 2018-05-22

[email protected]
6 篇帖子 / 22 条回帖
0 关注者
2 正在关注
4 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Capistrano + Rails 5.2 自动化部署 at 2019年04月17日

    你好,请问 master.key 的作用是什么,不加可以吗?

  • 我的项目原本是 Rails 6.0.0 beta2, 我现在要把 Rails 版本降到 5.2.2 at 2019年04月01日

    感谢

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月18日

    问题找到了,感谢大家,是 id 的问题,他找不到 id 就自己创建了

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月16日

    是这个错误吗?

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月16日

    有更新 diary 的内容,但是到了 diary_picture 就不是 update 了,变成了 insert

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月16日

    :diary_pictures_attributes=> [:diary_picture,:clothing_picture,:id,:_destroy],这里的:id 可以获取到吗?

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月16日

    参数可以获取到,但是 update 的时候变成了 insert

  • 使用 accepts_nested_attributes_for 去 update 一对多的嵌套表,为什么 update 变成了 insert at 2019年03月15日

    为什么不是 update 是 insert?

  • RuCaptcha 2.0.0 验证码 Gem 发布,不需要依赖 ImageMagick 啦! at 2018年11月03日

    你好!请问验证码数字、字母没有刷新只有颜色改变是什么回事?

  • 请问如何写成下面这个 json 的 API? at 2018年08月07日

    多谢

  • 请问如何写成下面这个 json 的 API? at 2018年08月07日

    非常感谢

  • 请问如何写成下面这个 json 的 API? at 2018年08月07日

    请问一下这个应该这么做,想了好几天了

  • 请问如何写成下面这个 json 的 API? at 2018年08月07日

    class Category < ApplicationRecord

    has_many :products has_many :categories, class_name: "Category", foreign_key: "parent_category_id" belongs_to :parent_category, class_name: "Category"

    end

  • 请问如何在匹配一个数字在一个数字数组中存在 at 2018年08月06日

    感谢,很有用,问题解决了

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