You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pickle
I'm trying to use pickle in a project that does not use ActiveRecord
at all. (In my environment: config.frameworks -= [ :active_record ])
I am trying to use the factory girl adapter and I think have
configured it correctly.
Pickle.configure do |config|
config.adapters = [:factory_girl]
end
The problem is that pickle seems to use ActiveRecord even in the
Machinist and Factory Girl adapters in the Adapter#model_classes
method. From the error backtrace:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pickle
Alright. Thank you for the info.
I'm just allowing ActiveRecord to load for now (worked around the
error I was getting with it before).
Thanks for your work!
On Dec 10, 11:00 am, Ian White <ian.w.wh...@gmail.com> wrote:
> Unfortunately, pickle is dependent on ActiveRecord for finding. It's
> on the todo list to make it orm agnostic.
>
> Cheers,
> Ian
>
> Sent from my iPhone
>