You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @object variable which instantiated by RailsAdmin is not compatible with ActiveJo, means If you try to send this object to a backend job via ActiveJob' perform_later API it raises an exception which says Unsupported argument type: Foo. This error may lead someone to wrong direction because the class is not Foo, actually its type is RailsAdmin::Adapters::ActiveRecord::AbstractObject which delegates almost its all methods to ActiveRecord object.
I know this is by design but I've spent lots of time to figure it out and it's really hard to understand what is the problem because of this design, you may want to consider this as should be fixed or documented for future incidents.
The text was updated successfully, but these errors were encountered:
The
@object
variable which instantiated by RailsAdmin is not compatible with ActiveJo, means If you try to send this object to a backend job via ActiveJob'perform_later
API it raises an exception which saysUnsupported argument type: Foo
. This error may lead someone to wrong direction because the class is notFoo
, actually its type isRailsAdmin::Adapters::ActiveRecord::AbstractObject
which delegates almost its all methods to ActiveRecord object.I know this is by design but I've spent lots of time to figure it out and it's really hard to understand what is the problem because of this design, you may want to consider this as should be fixed or documented for future incidents.
The text was updated successfully, but these errors were encountered: