[openstreetmap/openstreetmap-website] Added a validation to the Redaction model for the title. (#2034)

johnkirby2 notifications at github.com
Sat Dec 1 02:44:59 UTC 2018


Hello. I've re-pushed the 058_name_unnamed_redactions.rb file with some changes added. Thank you @tomhughes and @gravitystorm for your recommendations. Those of us who are working on the redaction-title-issue-2033 branch have been experiencing an issue with openstreetmap where every time we attempt to use vagrant within our own version of the project and run the rails server we get this error message in the browser:

![syntaxerrorscreenshot](https://user-images.githubusercontent.com/44008528/49323406-f718fc80-f4e8-11e8-858a-ff935877b61f.PNG)

The way we've been able to find a workaround for this involves copying and pasting the needed files over to the right directory, and then re-running rails server. Using these commands in our local version of the repo:

`cd app/assets/stylesheets/ltr`
`cp -p ../common.scss ../small.scss .`
`cd ../rtl`
`cp -p ../common.scss common.r2.scss`
`cp -p ../small.scss small.r2.scss`
`cd ../../../../`
`vagrant ssh`
`cd /srv/openstreetmap-website`
`rails server`

Is there possibly a more long-term remedy for this?

-- 
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/2034#issuecomment-443393075
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181130/cc50ce97/attachment.html>


More information about the rails-dev mailing list