hyperstack-org / hyperstack-org/hyperstack
has_many relationships do not guarantee sort order
未關閉
enhancement
- 主要語言
- JavaScript
- 星號
- 538
- 分支
- 41
- PR 合併指標
- 30 天內沒有已合併 PR
描述
for example:
if this is executed on the client
```ruby
p = Picture.find(1)
p.imageable = Product.find(1)
p.save
```
Product.find(1) will be at the end of the list (if the collection was already loaded)
but
if you do this on the server the order (by default) is the created_by.
貢獻指南
評估
這個 Issue 還沒有評估資料。