1,960 Experience
19 Lessons Completed
0 Questions Solved


Would be great to tackle the signup implementation with classic username/password in React Native

Resize to fit only works with image_processing gem. Upon bundle install, restart your server and give it a try.
You will need to whitelist some routes (sign_up...) based onĀ 
with a regular expression and skip middleware for those paths. (similar to what Chris did with ensuring account_id is a number)

How do you end up testing this with Minitest?
All controllers actions fail because env["REQUEST_PATH"] is nil

NoMethodError: undefined method split' for nil:NilClass
Variants are generated upon request (on the fly).
However, once it gets generated and saved to disk, then it is read from storage. So, the calculation only happens once.

Posted in Stimulus JS Twitter UI: Part 2 Discussion

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.