hyperstack-org / hyperstack-org/hyperstack

has_many relationships do not guarantee sort order

オープン
#131 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。