When I use Fabrication I receive the following error:

     FrozenError:

       can't modify frozen Array: [Sequel::Model, 
Sequel::Model::Associations, Sequel::Plugins::AutoValidations, 
Sequel::Plugins::ValidationHelpers, Sequel::Plugins::PreparedStatements, 
Sequel::Plugins::Subclasses, Sequel::Plugins::Timestamps]


This is because I use:

Sequel::Model.freeze_descendents


Is there any way of fixing that?

wtorek, 5 stycznia 2021 o 22:31:48 UTC+1 Mateusz Urbanski napisał(a):

> Thanks !!
>
> wtorek, 5 stycznia 2021 o 22:28:51 UTC+1 adam.me...@gmail.com napisał(a):
>
>> I use Fabrication with much success on my Sequel projects. Similar 
>> semantics to FactoryBot, but without a dependency on ActiveSupport and 
>> explicit support for Sequel.
>>
>> https://rubygems.org/gems/fabrication
>>
>> On Tuesday, January 5, 2021 at 4:23:14 PM UTC-5 
>> mateusz....@htdevelopers.com wrote:
>>
>>> Did any of you have experience with factory_bot gem? Any known issues?
>>>
>>> Thanks in advance.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/d425c5c6-384a-47cb-acdd-6a7183212afdn%40googlegroups.com.

Reply via email to