hyperstack-org / hyperstack-org/hyperstack
has_many relationships do not guarantee sort order
Aberta
enhancement
- Linguagem predominante
- JavaScript
- Estrelas
- 538
- Forks
- 41
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.