Re: [Rails] Collation order in Rails with Postgresql

2016-03-12 Thread nanaya
Hi, On Sat, Mar 12, 2016, at 09:49, Donald Ziesig wrote: > Hi All! > > I am trying to get a rails postgres table ordered by the exact values of > the ascii characters such that: > > > Alpha > Bravo > Charlie > ... > > Unfortunately, even when I try to escape the < characters and enter them >

Re: [Rails] Collation order in Rails with Postgresql

2016-03-12 Thread Colin Law
On 12 March 2016 at 00:49, Donald Ziesig wrote: > Hi All! > > I am trying to get a rails postgres table ordered by the exact values of the > ascii characters such that: > > > Alpha > Bravo > Charlie > ... > > Unfortunately, even when I try to escape the < characters and enter them > directly in t

[Rails] Collation order in Rails with Postgresql

2016-03-11 Thread Donald Ziesig
Hi All! I am trying to get a rails postgres table ordered by the exact values of the ascii characters such that: Alpha Bravo Charlie ... Unfortunately, even when I try to escape the < characters and enter them directly in the Postgresql table, I get: Alpha Bravo * * * Lima Mike November