New blog post: Setting up SQLite backups with Litestream and Cloudflare R2
Continuous database replication for Rails apps running SQLite in production. The litestream-ruby gem makes the integration pretty seamless.
https://t.co/7FpKIbHfkN
#rubyonrails#webdevelopment
API token code got you spooked?
I found a cleaner way using `has_secure_password`, `authenticate_by` and `authenticate_or_request_with_http_token` in Rails.
https://t.co/vHrupWE1Ki
#rubyonrails#webdevelopment
π¨ New RuboCop update! π Say goodbye to loops for collection manipulation. Embrace array methods like `#map`, `#select`, `#reject` & more. Keep your #Ruby code clean and efficient! π #DevTips#CleanCode
@samuelodan@lucianghinda Can't say I've used Solargraph with Rubymine. What were you expecting it to add that Rubymine didn't already do? I accept that this may be a very naive question.
Copilot in Rubymine is good
@jespr Namecheap, as they usually have good deals for the first year, and then transfer them immediately to Cloudflare to have everything in one place π
Trying to upgrade to ViewComponents 3.0.0 but having trouble with deprecations.
Am I missing something? - I'd like to raise errors in development and test environments for deprecation warnings - especially for the `slot_name` syntax - before upgrading the gem #rubyonrails
It's practically the only time I post these days - this week's newsletter is out in the wild!
Check it out or don't π
https://t.co/BLATqR2MI2
#webdeveloper#rubyonrails#newsletter
π Calling all web developers! π The latest issue of my weekly web development bookmark newsletter is here, packed with the latest resources and insights to supercharge your skills ππ #webdevelopment#newsletter#rubyonrails
https://t.co/fS3OVAZzHs
π₯ Hot off the press! π₯ Yesterday, we unleashed our latest issue of the ultimate web development bookmark newsletter. ππ» From cutting-edge tools to pro tips and expert insights. Get your weekly dose of web dev goodness now! ππ
#webdevelopment#newsletter
@bradgessler Dynamic nested forms - adding form fields for collections.
Thinking along the lines of Company has many Employees - we have a form for the Company details and then nested form for each Employee. Feels like reinventing some sort of wheel to dynamically add another Employee
Finally scratched a Rails Templating itch and created a linting template.
It can be added to an existing Rails app and will help fix linting issues in Ruby, Javascript and CSS while also checking and fixing translations π
#rubyonrails
https://t.co/Ov0LqIUjEk