docbrown/spec/helpers
Mike Coutermarsh 4c9959f0ff Social Cards Part 2 (#2188)
* 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
2019-05-01 11:07:25 -04:00
..
application_helper_spec.rb Fix community name (#2415) 2019-04-13 16:12:21 -04:00
feedback_messages_helper_spec.rb Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
social_image_helper_spec.rb Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00