Implement HTMX modal in DjangoIn this article, we will use htmx in Django to display data using modal that look like this. For keeping the article to a manageable size, here are the things that I keep out: setting up htmx and hyperscript. Setting up a tailwindcss. Don't worry,...May 29, 2024 · 8 min readfilehop.hashnode.dev
Easy SaaS subscription flow with Stripe Checkout in RailsWhat we are going to build is a Stripe checkout integration for subscription flow of a SaaS app like this: So the idea of the sequence is: → User views landing page → user clicks on one of the plans on pricing table → user gets redirected to the Str...Sep 18, 2022 · 11 min readrubyist.info
Easy Paypal Checkout in Rails using Smart Payment ButtonsBefore we start, don't forget to run these commands for your convenience: bundle install yarn rake db:create rake db:migrate rake db:seed SETUP Get Paypal Client ID and Secret Get sandbox Client ID Create application.yml using figaro and use it to ...Nov 13, 2021 · 11 min readrubyist.info
Using SQL View in Rails For Complex QueriesIn rails community, one of the stronger convention is to avoid writing plain SQL queries and stick to using the magnificent Active Record for all your query needs. This is especially true amongst developers whom have rails as their first web framewor...Sep 14, 2019 · 6 min readrubyist.info
Developing an API client in RubyConnecting to a public API is always exhilarating for me. The idea of quickly having a feature or functionality built into your application by integrating with APIs sounds appealing. After all, why reinvent the wheel when we want to build a car? Lot...Apr 14, 2018 · 8 min readrubyist.info