Puma vs Passenger
2
General
I am working on a Rails 6.1 application, and would like to understand the deployment options. By default, the application was generated with the Puma gem. Do I need to make any changes for producti...
Michael Lynch replied
career on cyber security skills?
2
General
anyone help me to know about cyber security skills
MiracleJiggy replied
Setup MacOS 13 Ventura Discussion
17
General
To install rbenv you also need brew install openssl@1.1 readline libyaml gmp or brew install openssl@3 readline libyaml gmp. https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
Kevin Causey replied
Rails for Beginners Part 38: Deploying to Heroku Discussion
13
General
I wasn't able to see the error where the users database table does not exist. I'm not sure if this is because I am on free tier but only the requests show on the logs and not the error itself:
```...
Guilherme Domingos replied
Capistrano deploy fail to do rake db migrate
0
Rails
I follow this tutorial from crabs code
and do all as in tutorial but when i do cap production deploy initial
capistrano fail to do rake db migrate. I think is because capistrano not do rake db crea...
Reni-amorim posted
Rails for Beginners Part 11: Creating the User model Discussion
7
General
Nicely done. User.all , User.first, User.last, User.create({hash:"hash"})
A Gorails "Path" series to learn the Rails way of doing Javascript?
2
General
Hey Chris. I'm coming back to Rails after some 2 years.
While I'm able to pick things up, I'm confused by all the new rails way of doing Javascript and Ajax.
Before I left, there was only stimulus...
Chris Oliver replied
I miss App-Folders and Files after create a app
0
Rails
Hello and good day to all.
I'm new to RVM, Ruby and Rails and I have a problem.
I use RVM.
If I create a new RAILS app with the following command:
rails new appname -d mysql
Do I get the impress...
RubySnug posted
Rails for Beginners Part 19: Edit Password Discussion
15
General
Editing the password with an empty string (i.e. not filling the fields and clicking right away on the submit button) doesn't throw any error, Current.user.update(password_params) returns true and t...
Alex replied
How do I create a sortable & searchable table with pagination?
2
Rails
Not really sure how to set this up with the different query params. Could someone point me in the right direction? Thanks!
Kevin Gutowski replied
Count the number of pages in a pdf
0
Rails
Hello!
I am trying to count the number of pages in a PDF for a print service using PDF-reader (https://github.com/yob/pdf-reader).
Here's what I have so far but, I only get a hash of {"identified...
Nick Seferos posted
Decorating with SimpleDelegator and Modules Discussion
4
General
Hi Chris! Thanks for another great lesson! Something weird happend in the last minutes. There are two videos overlap. ;)
Rodrigo Marques replied
2 sites... 1 DB?
8
Rails
Hello all! It's been a while since i was here, but i am back!
So today I would like to get some opinions on a project I am working on. So here we go...
What would be the best way to architect 2/3...
Fugee Ohu replied
Strict Loading with ActiveRecord Discussion
0
General
Nice to be able to remove dependencies like the Bullet gem and do this all in Rails!
Chris Oliver posted
Database connect
0
Databases
Hello and a wonderful day at all.
I'm a new RVM, Ruby and Rails user and I have a problem.
My problem is:
I can't connect my App to a database.
My System:
- OS: Rocky Linux on a Hypervisor VM
- ...
RubySnug posted
Interface Segregation Principle Discussion
1
General
I like how this serie changing my point of view.
Arthur Ariza replied
Refactoring CSV Uploads with ActiveModel::Model Discussion
20
General
Awesome episode, Chris! Would be nice to continue with moving CSV parsing to a background job and adding ajax progress bar to provide visual feedback on import progress
Arthur Ariza replied
The Behaviors Of Super Discussion
1
General
Using `method(:method_name)` and `method(:method_name).super_method` can be incredibly handy for debugging. 🔥
A **super**power if you will. 😜
Ann Cascarano replied