Posts - Page 6
Personal blog by Karina Baha.
-
Integrate Cloudinary with Django Models
In Django August 7, 2022
In this post, we will discuss how we can integrate Cloudinary with Django models and forms. We will build a blog project with a posts app, and each post will have a title field, a content field, and a... -
Custom Fonts in Ruby on Rails 7
In Ruby on Rails June 23, 2022
In this post, we will discuss how we can import custom fonts into a Rails 7 application using the asset pipeline. We will use Rails 7.0.3 and Ruby 3.1.2.
... -
Change Database Column Type in Ruby on Rails 7
In Ruby on Rails June 4, 2022
In Ruby on Rails, it's easy to change a column type in your application database. Say we have an online shop, and the prices of the products are integers. But now, we want decimals. How can we achieve... -
Generate an XML Sitemap with Ruby on Rails 7
In Ruby on Rails May 22, 2022
In this post, we'll generate an XML sitemap for a Ruby a Rails blog application. We'll use Rails 7.0.3 and Ruby 3.1.2.... -
Add and Change Default Column Value in Ruby on Rails
In Ruby on Rails April 23, 2022
In Ruby on Rails, it's easy to set and change a default value for columns in your application database. Say we have an online shop, and we want to set a default price for our products. How can we d...