Austin Klenk

Joined

1,230 Experience
11 Lessons Completed
0 Questions Solved

Activity

I use digital ocean ruby on rails apps they have a fully integrated console and managed databases. I haven't had any issues yet.

i got a question ive been scratching my head for a few days on a solution to a problem. I currently have work order that we assign a single user to and im trying to figure out the best way to assign multiple users to a single work order so if multiple people work on one work order at the same time they will have their own time card as well. I currently have a belongs_to association on the order model and on the user model I have has_many :orders. On my form i have a collection select that accepts multiple: true and in the database (pg) under the order table i have a user_id: integer column. Is there any additional steps to make this work? also in the order controller, i have user_id: [] under the order_params to accept the nested array or selected users in the form. Any pointers would be greatly appreciated.

Posted in Actionable Errors in Rails 6 Discussion

This is really cool,

Posted in Multi tenancy for one type of user

Thanks will do

Posted in Multi tenancy for one type of user

Very Interesting.. I might look into this gem for my future SaaS Platform. Thank you very much for suggesting this gem.

Posted in Multi tenancy for one type of user

There is a gem for multitenency Apartment Gem

Posted in cloudflare vs cloudfront vs ?

So im probably going to cache the photo gallery app through cloudflare. and that would solve the 1-2 second delay.

Posted in cloudflare vs cloudfront vs ?

I have the same issue, I built a photo gallery and that 1-2 second delay to load the images from the s3 bucket. But on my main website I use cloudflare to handle the DNS for my main domain, and its 10$ a month per website. There is many different caching techniques that cloudflare has to offer. Even if your server goes down your website will be cached by cloudflare.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.