
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

About Importmap rails gem
8
Rails
Hi Chris,
Will you make a video about https://github.com/rails/importmap-rails/, what will be the benefits and hidden costs.
Best Regards.
Michael Prince replied

Ruby Module Include Tracking Discussion
6
General
Very nice that you showed how to make it work with Concerns.
fridnorell1 replied

ActiveJob Perform All Later Discussion
0
General
This is handy especially for things like notifications where you need to queue up many separate jobs at once.
Chris Oliver posted

Outbound Email with Headers: In-Reply-To, References and more Discussion
0
General
Thank you Chris for the great series! I am running into a error though on this tutorial when trying to create a post and have it show on the conversations page. ActionController::UnknownFormat (Act...
Damon Clark posted

The MVC Pattern Explained Discussion
4
General
Great explanation about MVC!
Eric Halverson replied

What SEO tools do you use as a developer?
6
General
I am working on a project that should be SEO-friendly at launch. I have only basic knowledge in SEO and will be grateful for any of your advice

Sprockets::FileNotFound in Users::Sessions#new
4
Rails
Thank you for allowing me to be part of your group and my problem is the following, I currently have version 2.7.0 of ruby on my computer, version 5.1.7 of rails, they just shared a project that ...
Solved

Transitioning from JAVA to Ruby On Rails. How do I go about it
2
General
Hey guys, As the title suggests, I have been a Java dev for some time and transitioning into RoR. The space is definitely overwhelming and exciting at the same time. Please suggest some resources, ...

[delegated_type] How to query a collection of entries including the (entryable) sub-entries.
0
Rails
I need to query a collection of entries based on a range of dates and then sum an attribute of the sub-entry using the delegated_type method. Something like this:
```
Entry.where(performed_at: Da...
William Cunningham posted

How to limit comment nesting with Hotwire and Turbo?
4
Rails
I asked this question in the discussion on the tutorial itself, but there doesn’t seem to be any activity there. I went through the nested comments series, and the last three videos focused on real...
Solved

How to use Bootstrap with CSS bundling in Rails Discussion
28
General
Thanks for another great video. It's no wonder why I sometimes feel lost in the Rails ecosystem. I learned Rails using the asset pipeline, then it switched to using Webpacker which I never fully un...
Almas Asghar replied