
Handling multiple Account types
4
Rails
Hello Guys,
I'm doing some research on how to handle multiple account types. In our app, we will have two types of accounts. **Parents** and **Schools**. These accounts will never change types, fo...

Rails 7 with esbuild application production deploy failed
5
Rails
Hello there,
I'm using Capistrano for production deployment, getting below error when I try to deploy my rails 7 application to DigitalOcean server.
```
00:43 deploy:assets:precompile
01 $H...
Viktor Smári replied

Hotwire Not Working Inside of Namespace
0
Rails
This seems like an easy fix, but I am not sure why its not working. I have an admin dashboard using Hotwire, but I can't seem to create records for my gym model (There are no errors, and it will wo...
Brian Gilbank posted

Shrine Dynamic s3
1
Gems / Libraries
Hi Chris,
I have a question I hope it's not out of scope for gorails but I'm having a hard time figuring it out.
I have a multi tenant site, each of the tenants add their own s3 credentials there...
Chris Oliver replied

How I do use Rails.ajax in vueJs components using webpacker in rails 6
2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied

Multi tenancy for one type of user
7
Rails
Chris
Would you ever see a scenerio where you would use a multi tenancy approach for one type of user? For example lets say you have an etsy like example, the vendor would have their own section v...
Austin Klenk replied
Solved

Could you do a screencast on how to build notifications with Rails?
9
General
I've been trying to add a notification system (bell icon on the header) to the app I'm building. The implementation I came up with is very awkward and I'm sure there's a better way to do it (maybe ...
Chris Oliver replied

Searchkick - Searching Polymorphic Associations
1
Gems / Libraries
I have an activity feed (thanks Chris for the lesson) and I would like my users to be able to search the feed for search terms. The activity is created on a nested record. Is there a way to search ...
Terry Bonds replied

Accessing The Rails test.key on GitHub Actions
0
Testing
I have credential files and keys for production, development, and test. Meaning I have no master.key file.
How do I then access my test.key using GitHub actions?
Using these approaches does not w...
Brian Gilbank posted

Cookies vs token for authentication
4
General
You can keep a users session logged in by putting their cookies into the browser .
But what about if youre using token based authentication instead and the users browser doesn't allow cookies ? ...

Action Text Colours & More Heading Options
0
Rails
Hey Chris - Is it possible to add a colour picker to action text, i.e. select some text and change its colour? Seems like a basic thing that should be included. It would be great if there were mor...
Brian Gilbank posted

Soft delete Active Text in Rails 6
0
Rails
Anyone is using Active text on a controller with paranoia?
I added Action Text to my Post to have the `content` be rich text but when I soft-delete a post the `content` is deleted. If I restore th...
majoingsw posted

Is Gorails's jumpstart worth the price?
1
General
ooking to build some apps and saw that Gorails offers https://100001.onl/ https://1921681254.mx/ https://acc.onl/hotmail
I played with the free version and wanted to see if anyone has:
Built with ...
Chris Oliver replied

Working with rails caching
1
Rails
Rails.cache.write('name','Hello this is string' , :expires_in => 1.week)
Rails.cache.read('name')
i use these syntax but always it's nil
=> nil
Jesus Castello replied

Create form object with has_many attribute
3
Rails
Hi all,I often use form objects in some places in my application. But what I need now is something a little more complex.When I create them, it's always an ActiveModel object with simple string att...
Rafael Soares replied

How do I allow a multi-select to be sortable?
0
General
I have a ton of many-to-many relationships in a CMS I built for work. I am currently using [Select2 3.5.3](http://select2.github.io/select2/) to assign these relationships. This all works well. ...
Thomas Bush posted

How to build a wizard
7
Rails
Hi Chris
Something I'd love to see a video on is on how to *build a wizard*. I find this not that simple and would love to see how you solve these kind of issues, like in an onboarding process (or...
Bryan Beshore replied

Can a Rails app be converted into a Progressive Web App?
9
Rails
I was looking for a way to create a mobile client for my Rails App / API.
I came upon PWAs but I couldn't find any info on how to use it for Rails.
Is it possible?
Reece Jones replied

How do I take over an existing code base?
2
Tips
Hi, everyone. This is my first post here. I'm taking over an existing Rails 6 project that is in production (and that I haven't worked on before). There's a lot to think about :-) Has anyone compil...

Creating Custom QR Codes like SnapCodes or Messenger Codes?
1
General
I'm wondering how I could create something similar to SnapCodes or Facebook's Messenger Codes. They're the same concept as QRCodes just a bit more aesthetically pleasing.
I've been searching for a ...
Kelri Mrein replied