
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

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

Very strange Rails app behaviour
3
Rails
I've been writing a meal planning app, using Devise for user auth. I've generated the viexws,,,,,,,,,, set config.scoped_views to true, made sure routes.rb has devise_for :users, and setup my befo...
John replied
Solved

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

Deployment Error on rake assets:precompile
0
Rails
I deployed my rails 6 application but on 'cap production deploy', when the 'rake assets:precompile' is run, I receive the following error.
ModuleNotFoundError: Module not found: Error: Can't resolv...
abdullah19100142 posted

How do I add Bootstrap theme to an existing Rails application?
1
Rails
Hi everyone! I'm new to RoR, I have followed the blog tutorial on the rails guide website and now want to add layout (Bootstrap to be specific) but don't know how to. I have read so many articles b...
Tim Jones replied

Rails 6 Active storage setup - NameError Exception: uninitialized constant #<Class:0x00007fddde3597d8>::Analyzable
3
Rails
I'm setting active storage with s3 in Rails 6.
- I did rails `active_storage:install` and `db:migrate`.
- In development.rb, i added:
`config.active_storage.service = :amazon`
- I added `gem "...
Richard C replied

Reopen ActionCable after login?
4
Rails
Hey Folks,
I'm currently using [Jumpstart](https://jumpstartrails.com/) and [Stimulus Reflex](https://gorails.com/episodes/stimulus-reflex-basics).
After logging in, I am getting an error in the...
Marcus S replied

Mail Password hacked
2
Rails
I have a Rails application that runs on an Ubuntu server and sends emails through an external SMTP server. Now I was informed by my provider that the email password of the SMTP server was hacked an...
Herbert Schmoll replied

Struggling to get rails working
3
Rails
If I use "sudo gem install rails", it says everything is installed
Then I hit "rbenv rehash" and try to create a new project. The CLI gives me the error:
Rails is not currently installed on this ...
sam replied

Shrine: get URL of uploaded with host
0
Rails
I use shrine for uploading excel sheets. I need to process those files.
How can I get the url but with host? I tried the plugin default_url. But it doesn't work
Yassine Hafidi posted

Skipping Devise Confirmation for Stripe Signup
0
Rails
Hi Chris - How could I skip the Devise confirmation if a user is signing up to pay with Stripe?
I am following this video on your stripe course: https://courses.gorails.com/courses/payments-with-r...
Brian Gilbank posted

How do I create a duplicate with associations included?
8
Rails
I'm fairly new to Rails and still learning. I recently stumbled upon a problem that I'm sure there is an easy way to fix it, but I haven't figured it out yet. In the application I'm trying to creat...
msalsabil replied
Solved

how do i debug
1
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object
Arnaud replied

How to prevent missing images or assets after deployment in rails
0
Rails
I'm building a website as side project with a friend. Ngnix + Rails in docker.
After deployment, I usually do assets:clobber and assets:precompile. This changes the name of the assets.
When I try...
oscarlopezalegre posted

How would I go about building a price-comparison engine with Rails
0
Rails
Hey guys,
I just started a project (based off of Jumpstart Pro). One of its core features should be a price comparison: I'd like the app to fetch prices across different websites/webshops several ...
karatepicke posted

Using mail_form gem and Sendgrid - having an issue
1
Rails
I'm trying to test sending an email from the page, but I'm not receiving any emails in my inbox. While in the rails console, it looks like the email is sent correctly. I'm just not getting it. I be...
Mark replied

Render before action completes
4
Rails
Controller action is taking a couple of seconds (complex calculations in dashboard) and i want to display a spinner on the html.erb file while waiting so basically start the rendering before the ...
julianrubisch replied