Re: FrozenError when using pg_enum

2018-04-25 Thread Marcelo Pereira
Yes, you are right - this was a fairly obvious oversight on my part. Thanks a lot for the input. Best On Tuesday, April 24, 2018 at 10:38:33 PM UTC+2, Jeremy Evans wrote: > > On Tuesday, April 24, 2018 at 1:21:52 PM UTC-7, Marcelo Pereira wrote: >> >> Hello, >> >> I'm running Sequel 5.6.0 and

Re: FrozenError when using pg_enum

2018-04-24 Thread Jeremy Evans
On Tuesday, April 24, 2018 at 1:21:52 PM UTC-7, Marcelo Pereira wrote: > > Hello, > > I'm running Sequel 5.6.0 and Ruby 2.5.1 and, when I try to create a > PostgreSQL enum, using the pg_enum extension, I get the following error. > > FrozenError: can't modify frozen > # > >

FrozenError when using pg_enum

2018-04-24 Thread Marcelo Pereira
Hello, I'm running Sequel 5.6.0 and Ruby 2.5.1 and, when I try to create a PostgreSQL enum, using the pg_enum extension, I get the following error. FrozenError: can't modify frozen # /usr/local/bundle/gems/sequel-5.6.0/lib/sequel/extensions/pg_enum.rb:112:in `parse_enum_labels'