Rails Application Structure Discussion
Agreed. Even in 2022. Perhaps Chris you should update it and point out any new artifacts. eg credentials.yml I see instead on secrets.yml. Am using ruby 3.1.1 and rails 7.0.2.3

7
General
BCrypt: Can't validate passwords
Just got an answer to this from stackoverflow. I need to have both 'password' and 'password_digest' in my columns of the DB table. and I should only use the password, the password_digest is left al...

2
Rails
Ordering with included models
OK, I got it figured and posting here in case someone finds it useful.
I modified the **Product** model as follows
```
# product.rb
has_many :parts, -> { includes(:item).order(:part_nume...

2
Rails
How to delete parent object when last associated child is deleted?
I have a similar case as well. Is there some rails magic available for that ? :)

2
Rails
How to add Notifications to Rails with Noticed Discussion
Can we use a PORO class to deliver ?
This is what I did
# app/models/new_email.rb
class NewEmail
attr_reader :params
def initialize(params)
@params = params.permit(:to, :subject, :b...

35
General
System Testing File Uploads in Rails with Uppy and Dropzone Drag & Drop Discussion
In the React application, the JSX file contains component. react-dropzone is an HTML5-compliant React component for handling the dragging and dropping of ...

3
General
Black Friday 2021 Deals on GoRails, courses, and Jumpstart Pro! Discussion
Hi Chris!
Do not have a Gorails promotional annual subscription for only $ 144 / year?
Regards,
Marcos

4
General
Testing Emails in Development with Mailcatcher Discussion
I'd like to point to my docker image, which is maintained.
It now runs mailcatcher 0.8.2 and is built using Alpine Linux making it one of the smallest available images.
You can find it here https...

10
General
Devise and OmniAuth - correct approach?
Hello,
I decided to start building a social media scheduling tool as I figured it would be decent portfolio project for a junior dev. I'm a little confused as to how to integrate Users' social ...

1
Rails
HyperNav, an advanced and interactive CSS only navigation menu framework

3
General
API params validation in Rails app
Grape APIs are Rack applications that are created by subclassing Grape::API . ... You can define validations and coercion options for your parameters using ...

6
Rails
With Hotwire and a long-running background job, how can I show a message indicating that data is loading?

2
Rails
Redirect To Current Page After Login Discussion
I click /posts/1/edit when I am not login. it will require me to login. when I login in.I can't redirect_to /posts/1/edit

3
General
PDF generate
Setting:
To install praw into a Rails application is very simple, we just need to declare the gem line "prawn" in the Gemfile. Next, we need to run the command in the terminal
bundle install
Use...

2
Rails