I think I found a solution: act_as_list.
Sometimes we just need persistant storage.
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving ema
On 27 May 2016 at 14:53, Zdravko Balorda wrote:
> Yes. So how one can handle arrays properly?
Can you give us more information on what is in your array and for what
reason they are sorted? Someone may be able to suggest a better
solution to the problem.
Please quote the relevant parts of previo
You have to add an index column and use order by. SQL as a standard does
not guarantee any ordering unless you enforce it, so any implementation can
return elements in the order that is most efficient.
Zdravko Balorda schrieb am Fr., 27. Mai 2016 15:53:
> Yes. So how one can handle arrays proper
Yes. So how one can handle arrays properly?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+u
4 matches
Mail list logo