Re: Equivalent to :methods option from ActiveModel::Serializers::JSON

2018-04-18 Thread Marcelo Pereira
My bad, :include does indeed work as well. On Tuesday, April 17, 2018 at 10:06:18 PM UTC+2, Marcelo Pereira wrote: > > I checked the code, and saw that :include doesn't work, but :only does. > Thanks a lot for answering this quickly. > > On Tuesday, April 17, 2018 at 7:26:40 PM UTC+2, Jeremy Evan

Re: Sequel 5 and Model mocking

2018-04-18 Thread Jeremy Evans
On Wednesday, April 18, 2018 at 2:33:37 AM UTC-7, da...@abstra.cc wrote: > > > > El miércoles, 18 de abril de 2018, 0:09:50 (UTC+2), Jeremy Evans escribió: > >> The main Sequel 5 changes are that Dataset#with_{fetch,numrows,autoid} >> need to be used now, because datasets are frozen and you can't

Re: Sequel 5 and Model mocking

2018-04-18 Thread david
El miércoles, 18 de abril de 2018, 0:09:50 (UTC+2), Jeremy Evans escribió: > The main Sequel 5 changes are that Dataset#with_{fetch,numrows,autoid} > need to be used now, because datasets are frozen and you can't modify the > dataset itself. > > If you have specific questions about the mock ad