Abeid Ahmed


2,230 Experience
22 Lessons Completed
0 Questions Solved


Posted in Auto-detect User Time Zones in Rails Discussion

I guess your time zone was leaking outside of your controller actions. A common way to solve this would be to use around_action instead of the before_action.

You need to set extract_css to true in your webpacker.yml file.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.