[openstreetmap/openstreetmap-website] add icon for OSMF membership to user page (#1914)

Andy Allan notifications at github.com
Sat Feb 23 10:42:13 UTC 2019


> I can provide a script to update the osm usernames with this query if desired. Updating daily should probably be enough.

If this can be provided as a rake task, that would be ideal. It's best to make the code within the rake task as small as possible so that tests can be more easily written. 

For example, in other situations I have written rake tasks that simply enqueue an ActiveJob job, which is what does the actual work to fetch updates, update tables, etc, since the jobs are easier to test and come with built-in retries, error reporting etc.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1914#issuecomment-466637555
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190223/2c243c3b/attachment.html>


More information about the rails-dev mailing list