This anon func could be passed to the following to get support for TurboLinks:

```coffeescript
$(document).on 'page:load', '.datepicker:not(.hasDatepicker)', ->
  $(@).datepicker dateFormat: 'yy-mm-dd'
```