Frank Betorina

Joined

1,130 Experience
11 Lessons Completed
0 Questions Solved

Activity

Posted in Rails 7.1 Authentication From Scratch Discussion

This episode is (again) more than excellent! And very useful of course.
See you at RailsWorld Chris.

Alternatively to the webpacker way of require the flatpicker css in the packs/application.js you can do someting like:

/*
 *= require flatpicker/dist/flatpicker
 */

In your rails app/assets/stylesheets/application.css (or other) manifest file.

Posted in How to Upgrade to Turbolinks 5 Discussion

Hi Chris, great episode! You can also skip the extra gem(s) and compatibility files by simply changing code. Doing something like:

Old Turbolinks Classic:
$(document).on "ready page:load", ->
# CoffeeScript code

Turbolinks 5:
$(document).on "turbolinks:load", ->
# CoffeeScript code

https://github.com/turbolin...