* Social Cards Part 2 This is a follow up to part 1: https://github.com/thepracticaldev/dev.to/pull/2090. This PR updates the og:image URLs to use the new social_preview.png urls added in Part 1. So that the already generated/cached images do not need to be recreated, this sets a MIGRATION_DATETIME. Any object that has been updated after that date will generate a new image Objects from before that date will not. They will use the new url. * Fix weird change made by rubocop autocorrect * Handle organizations + users * Run CI * Use time with zone to be explicit about timezone * Simplify branching in user_social_image_url method * Fix param alignment + bump migration date |
||
|---|---|---|
| .. | ||
| application_helper_spec.rb | ||
| feedback_messages_helper_spec.rb | ||
| social_image_helper_spec.rb | ||