Structure Guidance - Multi Tenancy Authentication / Authorization
> You can set the session[:company_id] to a default when they login, or allow them to use the site under a "Personal" account without a company. Hi folks, appreciate the commentary, it's extra ...BKSpurgeon replied
Format of created_at for date range using Searchkick
Those plain fields that aren't using `form` like `form.date_filed` always trip me up too. Small argument differences can mess up your params really easily. Thanks for sharing! :DChris Oliver replied • Solved
Webpacker noob - so I saw your video and im using rails 6
Figured it out application.js ``` var jQueryBridget = require('jquery-bridget'); var Isotope = require('isotope-layout'); jQueryBridget( 'isotope', Isotope, $ ); ``` Sheesh !Gus P replied • Solved
Websockets with Rails(Passenger) - Error during WebSocket handshake: Unexpected response code: 400
I have also looked into the production.log on the server and this is the error that was recorded: ``` WebSocket error occurred: One or more reserved bits are on: reserved1 = 1, reserved2 = 0, rese...Rizal Yusoff replied
Why this error ? how I fix this.
No, I doesn't know this.Thomaz Wanderbruck Schmidt replied
How to have one application for multiple URL's
You can use `request.domain` to check the current domain and query your database for the account & logo you need to show.Chris Oliver replied • Solved
How do I find a Rails mentor?
Hi Daniel, I've 35+ years of software engineering experience and long time with rails. The last 15 years where mainly architecting software. Please contact me by private mail to email@example.com...Peter vande Put replied
Trix editor is not displaying properly in Rails 6
Thank you Drew for your response. I did update webpacker, but the error persists.Rajiv replied
How to build a GCS file browser & manager in Rails?
Hi Chris, Awesome work with GoRails!!! I'm a big fan! I'd like to build a Google Cloud Storage bucket file browser and manager. The key features would be browsing files on the bucket and downloa...Adam Decker posted
How to run rails initialization code that relies on all classes being loaded?
Andrew Max posted
Active Storage, AWS S3 and Cloudfront
Here's what worked for me: I chose to abandon ActiveStorage completely (don't worry, this makes things easier). Once the upload button is clicked on the client, a GET /presigned_url is sent to the ...Noredeen Al-Zu'bi replied
calculate leaves on yearly basis
Employee is allowed 15 leaves in year for example. My function is calculating the total leaves of allover . But I want to calculate the since joining date and when year is complete since joining da...Ahmed.zain posted
I aim to improve my english in exchange for teaching rails
Improving your english language skills is great. I myself always strive to find new rules to improve my language skills. For example, I recently found articles on this link https://preply.com/en/bl...Johana Weber replied
ActiveJob Deserialization Error that doesn't make sense
Thanks for the follow up either way. I think I got it resolved by simply upgrading the sidekiq gemMarc Köhlbrugge replied