On 28 Dec 2014, at 17:50, Sam Saffron wrote:
> I am encountering rather odd encoding issue in Ruby 2.2 under pg
> 0.17.1
>
>
https://gist.github.com/SamSaffron/0f196fab3af73409b185
>
> It is reproducible by running the Discourse spec suite under 2.2
>
> The issue is resolved when using
>
> gem 'pg', '0.18.0.pre20141117110243'
Thanks for the report! There was an issue filed the day after 2.2's
release which looks to be the same bug:
https://bitbucket.org/ged/ruby-pg/issue/197/ruby-220-byte-encoding-issue.
> which raised a couple of questions?
>
> - Did anything change around string handling (reading / writing to db
> in
> 0.18) ?
> - Are there any plans for a new stable release ... 0.17.1 is quite
> ancient.
Yes, the new typecasting system Lars has been working on will be in 0.18
which I suspect is responsible for the fix. Lars can probably confirm
that and speak to the particulars.
And yes, we're planning on releasing very soon.
--
Michael Granger <g...@FaerieMUD.org>
Rubymage, Architect, Believer
The FaerieMUD Consortium <
http://faeriemud.org/>