Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
root
@Runable
Member
NO. 35161 / 2018-05-22

[email protected]
6 Topics / 22 Replies
0 Followers
2 Following
4 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Capistrano + Rails 5.2 自动化部署 at April 17, 2019

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

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

    感谢

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

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

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

    是这个错误吗?

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

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

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

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

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

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

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

    为什么不是 update 是 insert?

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

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

  • 请问如何写成下面这个 json 的 API? at August 07, 2018

    多谢

  • 请问如何写成下面这个 json 的 API? at August 07, 2018

    非常感谢

  • 请问如何写成下面这个 json 的 API? at August 07, 2018

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

  • 请问如何写成下面这个 json 的 API? at August 07, 2018

    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 August 06, 2018

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

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