Ruby on Rails Community Forum
Considering jumpstart pro for a react native backend, is this a good idea?
1
General
Hey guys, I was just wondering if anyone had any advice on whether jumpstart pro would be a good place to start for me?
I want to create an API for my react native expo app. Does jumpstart pro mak...
William Kennedy replied
Hi, my name is...
4
General
Ryan Blakely. I'm a PHX, Arizona based Rails developer. I started learning Rails about 2 years ago during my senior year of college at Arizona State University. After graduating and working for a y...
Overly Detailed Internal Error Messages
1
Rails
Errors which previously caused stack traces to be shown now only show the following generic error:
"The page you were looking for doesn't exist." However, the server responded with the response c...
How to block users from getting messages?
0
Rails
Hey everyone,
I have an internal messaging system in Rails 6.
I was wondering how can I add the logic for a button to block the user in conversation that I'm messaging with.
My setup and details...
Ulas posted
Can I authenticate the static files served with Rails
0
Rails
I have a static Jekyll site on my main Rails app in `/public/support/`. I would like to protect this site and only allow authenticated users to access it. Can I do that?
Dan Tappin posted
Stimulus reflex does not work at all in internet explorer 11?
0
Javascript
Stimulus reflex does not work at all in internet explorer 11? If the stimulus has the ability to trigger ie compatibility using polyfills, then I have not found an option for reflex.
https://expo....
Alexey posted
DateTime comparison in Rails 6
0
Rails
Hi -
I built this simple app to practice with ActionMailer as I learn Rails (LINK: https://github.com/eleetyson/time-capsule).
It works fine locally but when I deployed to Heroku, it seems that ...
Ethan Lee-Tyson posted
Incorrect Content-Type Response Headers
2
Rails
Incorrect Content-Type response headers were found to be in use:
Content-Type: application/octet-stream is being used for PDF and Zip downloads.
How do I config the PDF and ZIP files to
Conte...
Simon Moro replied
ActiveStorage - AWS S3 use_accelerate_endpoint for certain users
0
Rails
Hi there!
I'd love to know if there's a straightforward way of implementing S3 accelerated uploads for certain users, with ActiveStorage. Essentially, I want my paid users to experience faster upl...
Simon Moro posted
How do I extend enum method?
0
Rails
Is there a simple way to either extend the enum methods OR to override the current bang method? I have a lot of enum statuses that I update with bang. However, the rails enum bang method is writt...
Amie Walton posted
No Client-side Encryption of Passwords
1
Rails
There are no client-side encryption of passwords when they are sent to the web server. In mitigation, the passwords are already protected by SSL/TLS during transit. An example of the POST request ...
Chong Hwi replied
What's the best way to.... store predictable but not essential attributes for a model
1
Rails
To be clearer - predictable but not essential, and always inheriting from defaults.
I have a series of sites based off the same codebase that at present I load with a settings file in application....
David Lowry replied
Learn Apache Spark
2
General
Hello Everyone, I don't know this right place or not to ask the question about apache spark. So if anyone suggest me the easy way to learn spark its good for me or can anyone suggest me is apache s...
Zach Swedberg replied
Extract KPIs from Rails app and append to spreadsheet
0
General
Hi,
Not sure if this is the right place for a question like this but I'm wondering if anyone has any examples on how to easily extract (and display) some Key Performance Indicators from a running ...
Demetrios posted
Refactoring Controller Methods Discussion
26
General
I'm still downloading this episode right now, but I want to answer your question in your email 'Should we do more refactoring and talking about how to write clean code in the future?'. And my answe...
Tito Brahmanto replied
What is the best way to work with user roles?
2
Rails
What is the best way to achieve this when people sign up? I have a user model and an account model. I want to have 3 roles in my application. The administrator, store_owner and end_user.
A store o...
Jul Zyw replied
Protecting source
0
Rails
I'm looking for a way to protect source code using a license server. Since ruby is not a compiled language looking for any experience with compiling ruby using rubyVM or other means.
Peter vande Put posted
PG::ConnectionBad: FATAL: password authentication failed for user "deploy" capistrano rails
1
Databases
Hi
I am working on deploying rails application to digital ocean everything is worked fine. just stuck on that final step:
when I am runing
`cap production deploy`
I am getting
> 01 PG::C...
Thuba Mamba replied
Using Vuex with Forms in Rails Discussion
1
General
This is a very good episode to show Vuex.
I noticed that all your VueJS episodes use only a single app.vue
It will be very useful if you can create an episode to show a good way to display differe...
Carl Tanner replied
AnyCable
1
Rails
Hi Chris,
I'd like your post about action cable, and I wonder if you can do a similar one for AnyCable? thank you.
Ángel Méndez replied