Action Cable vs Mailboxer?

3
General
Differences and pros/cons between Rails 5 new **Action Cable** vs **Mailboxer** gem? What are your thoughts? :)
Bruno Sacco replied
Solved

Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
BKSpurgeon replied

File Uploads with Refile Discussion

94
General
Awesome.
Someone replied

Content ideas

1
General
GraphQL on rails - basics - various ways to solve N+1s
Filippo Massarelli replied

Has anyone using ruby 2.7?

0
General
Hi, I've been wondering what's the adoption of ruby 2.7. Has anyone here migrated a production app to 2.7? I've done some rudimentary tests on SaaSHub (development), and it's a touch slower in mo...
nozale posted

How do I introduce a cookie consent banner in Rails 6?

3
Javascript
What is the current go-to way to show a cookie-consent banner (as required in the EU) with Rails 6 and Webpacker?
Tworedkites replied

Implement Authentication Service in Rails

2
Rails
Hello, I'm currently looking for options to create some form of authentication service based on Rails. I've got several microservices like app1.site.com app2.site.com and app3.site.com and I woul...
holliweb12 replied

Send in-app invitations?

0
Rails
I'm building a platform where Users belong to Teams, and I want whoever creates a team to: a) Be added as a team member, potentially with a particular status ("team_owner") b) Be able to send inv...
David Oudiette posted

Setup Windows 11 Discussion

8
General
In case you guys have Windows 10 like me: 1) Run PowerShell as administrator 2) Paste this command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 3) Restart...
Derek Hobson replied

Use .ENV instead of Secrets.yml for keys

6
Servers
Regarding around time area 3min for *Direct File Uploads to S3: Part 2*, I was wondering if I could just use ```.ENV``` since I'm using this as an example for my Github and Heroku. Instead of putt...
Chris Oliver replied
Solved

Whitelist parameters from a HTML table (Dynamic) and Save to JSONB format.

0
Rails
Hello, Myself Mukheem. I have just started working with Ruby on Rails. I am trying to create a small billing application where a receptionist can bill the items and give the receipt to customer....
Abdul Mukheem Shaik posted

Create little (parse data, formatting and counting) project

2
General
Hello, friends. I am a total newbie in ruby, I want to try to do the following thing: create a program that will collect vacancies and monitor the number of repeated words from them. The structure ...
Solved

URGENT! How do I solve the following error?

1
Rails
I am trying to run a test using rspec and I am getting the following error. Please help.ReactOnRails: Set generated_assets_dir to default: public/webpack/developmentrake aborted!NameError: undefine...
Taylor Cooney replied

How do I duplicate or move a carrierwave image that's stored on S3?

0
Rails
Media page for controller: User can upload an image. User can also create a folder. I want the user to have the choice to either move or copy the uploaded image into the folder. I've looked around...
Josh Zandman posted

How do I create hierarchical data with a model?

3
General
I have found and played with awesome_nested_set which is _awesome_ for real. I was wondering if this is the recommended gem for managing tree data in Rails or if there are any others that would do ...
Chris Oliver replied
Solved

Limit CSV export by Day, Week and Month

1
General
Hi there, is there an easy way to limit the results inside a CSV export to a specific time-frame, like day, week and month? Thanks!
Chris Oliver replied
Solved

Uploading a PDF file directly into Sharefile via their API

4
Rails
I need to upload multiple large PDF files directly into a ShareFile Folder (https://api.sharefile.com/samples/ruby). Right now I am reading and saving the file data as binary data in a model and th...
Mario Joseph replied

Bundler's New Ruby Version File Option Discussion

1
General
Quick note, some of the documentation for some Ruby version managers (such as `chruby` which I use) instruct users to store the string literal "ruby-x.x.x" with the version in the `.ruby-version`. ...
Chris Oliver replied

App Stats / Data (i.e. tracking long term app data trends)?

0
General
I have a multi-tenant app with various models. I want to start tracking data point for future stats and business intelligence integrations etc. Think of this like Amazon and you wanted to track e...
Dan Tappin posted

Bootstrap v5 tooltip and popover not working (where to put the scripts?)

0
Rails
Hey everyone, I'm using a Railsbytes script to install bootstrap 5 alpha; https://railsbytes.com/public/templates/VB0s5v. However, I can't get any of the tooltips and popovers to work. Not sure ...
Jacob Hedengren posted

Want to stay up-to-date with Ruby on Rails?

Join 91,129+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.