hyperstack-org / hyperstack-org/hyperstack
has_many relationships do not guarantee sort order
Ouverte
enhancement
- Langage dominant
- JavaScript
- Étoiles
- 538
- Forks
- 41
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.