Tutorials


Benefits of Having a Call Method for Your Ruby Object
Exploiting Ruby’s Object Model to Ease CollaborationOne of the common patterns I use in my day-to-day Ruby coding is to define a module or level call method. I like to establish these call methods as crisp interfaces between different concerns.Dep...

4 things you can try before using a counter cache in rails
Maybe you have heard about the counter cache feature.A counter cache makes finding the number of belonging objects more efficient by keeping a column with the count.Rails makes it easy to implement it, but is not free. Sometimes it may be better n...



Soft deletion with PostgreSQL: but with logic on the database!
Any developer eventually faces a challenge: making significant changes to large code bases. But here, I’ll walk through an unorthodox solution which allows all the application code’s complexity to remain untouched thanks to the might and power of ...


Payments With Stripe And Pay Gem | Intro To Ruby On Rails For Beginners Part 15 - YouTube
This video covers the very basics in setting up Stripe integration with a Ruby on Rails 7 app to allow for basic purchase functionality.https://stripe.com/docs/stripe-clihttps://dashboard.stripe.com/test/api...https://stripe.com/docs/api/orders_v2...
