How do I display several posts in related "weeks"

17
General
I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked and if I click o...

Autocomplete a form field

2
General
Hi, i have the following models: users, markets, assignments, products, sales, a user gets an assignment, and then he should enter his sales for the assignment. i have a sales form with the foll...

Extracting Reusable Base Classes In Ruby Discussion

3
General
The cat is still playing in the background 😂

Testing HTTP Requests with Webmock Discussion

3
General
Great episode! Instead of testing private methods directly, I suggest to define a `FakeApiClient` class that extends `ApplicationClient` with some dummy methods. This allows testing public methods....

HTML Learning Path - Image Element Discussion

1
General
In developer tools, Due to instructor video section, css and box model section are totally hidden.
inonomity replied

Changing Between Contexts In IRB Discussion

0
General

Loops & Blocks in Ruby Discussion

5
General
Hey Collin! Can you give us some examples where you might want to reach for a Proc or a stabby lambda instead of a regular method / function?
Aleksandr Gerasimov replied

Refactoring with Enumerable partition Discussion

0
General

Practical Decorators & Extracting Concepts Discussion

1
General
this is brillant
Matias H. Leidemer replied

Limiting & Clamping Values in Ruby Discussion

0
General
Yeah! Minimal if statements = Maximum efficiency.
Thomas Blevins posted

Custom Turbo Confirm Modals with Hotwire in Rails Discussion

8
General
Thanks for this
Adrian Marin replied

ActiveRecord Aggregations with composed_of Discussion

1
General
I don't see this feature used often in Rails apps, but it's super powerful for things like this. An easy way of creating Ruby objects like this allows you to really organize functionality instead o...
Marc Köhlbrugge replied

How to use Solid Queue in Rails with Active Job Discussion

12
General
What's great about the puma plugin is the cost savings when running on something like Heroku. Only one dyno needed for small apps including a Queue. Something that was quite expensive before becaus...
Matthias replied

ShareMeow Discussion

0
General

Rubygems Trusted Publishing Discussion

0
General
As more and more vulnerabilities like "xz" with Linux happen, reproducible builds and releasing processes like Trusted Publishing that the Rubygems team has built will be critical. I mean, how many...
Chris Oliver posted

Install and Running Whisper.cpp from Ruby Discussion

0
General
When I try to run whisper.cpp after I added to my path I got `zsh: permission denied: whisper.cpp`
Vinicios Wentz posted

How to use Stripe Checkout in Rails Discussion

24
General
Thank you so much!
Aaron replied

Webpacker Javascript Embed Code Snippet & Scoped Styles Discussion

10
General
@Chris Oliver, Nice series tutorial. I really enjoy this series of tutorial. If you have time and If you will convert this embeddable series with React JS then it would be nice. I like your tutoria...
David GEISMAR replied

Setup Ubuntu 24.10 Oracular Oriole Discussion

0
General

Sharing Passwords Between Users Discussion

3
General
Hello ROR developers, anyone facing a error when try to delete a user that you share a password ? ----------- code def destroy @password = current_user.passwords.find(params[:password_id]).des...
Aaron replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.