The way to implement arrays in ActiveRecord is via has_many.
But, normally Ruby arrays keep the order of elements, while has_many do
This is not just a matter of "order by" clause.
At every update one needs to index database table rows properly, so that
"order by" would work.

Thanks in advance.

Posted via

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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 6 | next ›
Discussion Overview
grouprubyonrails-talk @
postedMay 27, '16 at 1:20p
activeMay 28, '16 at 9:17a



site design / logo © 2021 Grokbase