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
Since this patch, Rails seeds have been configured to always run with the inline ActiveJob adapter instead of the async one. Unfortunately, the way that this was implemented is incompatible with seed bank (it looks directly at the db/seeds.rb file to determine if the replacement should be made).
One concrete ramification that this async -> inline replacement has is that it forces any images stored in ActiveStorage to have their heights and widths analyzed immediately instead of on a background worker. This background analysis doesn't work correctly during seed population and causes the heights and widths to instead never be calculated.
(I discovered this issue with Seedbank when trying to figure out why our seed images' aspect ratios were always nil, when they were working fine in production.)
The text was updated successfully, but these errors were encountered:
Since this patch, Rails seeds have been configured to always run with the
inline
ActiveJob adapter instead of the async one. Unfortunately, the way that this was implemented is incompatible with seed bank (it looks directly at thedb/seeds.rb
file to determine if the replacement should be made).One concrete ramification that this async -> inline replacement has is that it forces any images stored in ActiveStorage to have their heights and widths analyzed immediately instead of on a background worker. This background analysis doesn't work correctly during seed population and causes the heights and widths to instead never be calculated.
(I discovered this issue with Seedbank when trying to figure out why our seed images' aspect ratios were always
nil
, when they were working fine in production.)The text was updated successfully, but these errors were encountered: