<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Rails on ToiDB</title>
    <link>https://www.toidang.xyz/tags/rails/</link>
    <description>Recent content in Rails on ToiDB</description>
    <image>
      <title>ToiDB</title>
      <url>https://www.toidang.xyz/web/static/me-512x512.png</url>
      <link>https://www.toidang.xyz/web/static/me-512x512.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 12 Jun 2024 10:55:39 +0700</lastBuildDate>
    <atom:link href="https://www.toidang.xyz/tags/rails/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Engines Modularized in Ruby on Rails</title>
      <link>https://www.toidang.xyz/posts/2024/03/29/engines-modularized-in-ruby-on-rails/</link>
      <pubDate>Fri, 29 Mar 2024 10:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/29/engines-modularized-in-ruby-on-rails/</guid>
      <description>Engines in Ruby on Rails provide a way to modularize your application by breaking it into smaller, self-contained components. In this article, we explore how engines work in Ruby on Rails and how they can help you build scalable, maintainable applications.</description>
    </item>
    <item>
      <title>Understanding Active Record&#39;s first and order.first Methods in Rails</title>
      <link>https://www.toidang.xyz/posts/2024/02/14/understanding-active-records-first-and-order.first-methods-in-rails/</link>
      <pubDate>Wed, 14 Feb 2024 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/02/14/understanding-active-records-first-and-order.first-methods-in-rails/</guid>
      <description>In Active Record, the first and order first methods are used to retrieve the first record from a table. However, there are differences between the two methods in terms of the order of retrieval and the use of sorting criteria. Understanding these differences is essential for efficient data retrieval and query optimization.</description>
    </item>
    <item>
      <title>An In-depth Introduction to Testing in Rails with RSpec</title>
      <link>https://www.toidang.xyz/posts/2023/05/23/an-in-depth-introduction-to-testing-in-rails-with-rspec/</link>
      <pubDate>Tue, 23 May 2023 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2023/05/23/an-in-depth-introduction-to-testing-in-rails-with-rspec/</guid>
      <description>Unit testing is a crucial aspect of software development, and RSpec provides an effective and user-friendly framework for writing and maintaining tests in Ruby on Rails applications. By incorporating unit testing with RSpec into your development workflow, you can ensure the reliability, quality, and maintainability of your codebase.</description>
    </item>
    <item>
      <title>Understanding Access Control in Rails: Private, Protected, and Public</title>
      <link>https://www.toidang.xyz/posts/2022/04/07/understanding-access-control-in-rails-private-protected-and-public/</link>
      <pubDate>Thu, 07 Apr 2022 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2022/04/07/understanding-access-control-in-rails-private-protected-and-public/</guid>
      <description>In Ruby on Rails, access control plays a crucial role in determining which methods or attributes of a class can be accessed from outside the class. Rails provides three access control levels: private, protected, and public. Let&amp;rsquo;s explore each of these levels and their implications in Rails development.</description>
    </item>
    <item>
      <title>Introduction to Monitoring Tools for Web Systems and Rails</title>
      <link>https://www.toidang.xyz/posts/2022/02/08/introduction-to-monitoring-tools-for-web-systems-and-rails/</link>
      <pubDate>Tue, 08 Feb 2022 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2022/02/08/introduction-to-monitoring-tools-for-web-systems-and-rails/</guid>
      <description>Monitoring tools play a crucial role in ensuring the health, performance, and reliability of web systems, including those built with Rails. These tools provide insights into various aspects of system behavior, such as resource usage, response times, errors, and overall system health. Let&amp;rsquo;s explore some popular monitoring tools used in web systems and how they can be applied in a Rails environment.</description>
    </item>
    <item>
      <title>Preparing for a Ruby on Rails Web Development Interview</title>
      <link>https://www.toidang.xyz/posts/2022/01/08/preparing-for-a-ruby-on-rails-web-development-interview/</link>
      <pubDate>Sat, 08 Jan 2022 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2022/01/08/preparing-for-a-ruby-on-rails-web-development-interview/</guid>
      <description>Preparing for a Ruby on Rails web development interview requires a solid understanding of web development concepts, Ruby programming language, and the Rails framework. Here&amp;rsquo;s a list of common interview questions that cover various aspects of web development and Ruby on Rails.</description>
    </item>
    <item>
      <title>Using Redis in Rails Applications</title>
      <link>https://www.toidang.xyz/posts/2021/04/07/using-redis-in-rails-applications/</link>
      <pubDate>Wed, 07 Apr 2021 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2021/04/07/using-redis-in-rails-applications/</guid>
      <description>Redis is an open-source, in-memory data structure store known for its speed and flexibility. It serves as a high-performance database, cache, and message broker, offering various data structures such as strings, hashes, lists, sets, and sorted sets. In Rails applications, Redis is widely used for caching, session storage, background job processing, real-time analytics, and more. This article provides an introduction to Redis and its applications in Rails, along with a step-by-step installation guide for integrating Redis with a Rails application using the &lt;code&gt;redis-rails&lt;/code&gt; gem.</description>
    </item>
    <item>
      <title>Understanding Sidekiq: A Powerful Background Job Processing Solution</title>
      <link>https://www.toidang.xyz/posts/2020/03/02/understanding-sidekiq-a-powerful-background-job-processing-solution/</link>
      <pubDate>Mon, 02 Mar 2020 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2020/03/02/understanding-sidekiq-a-powerful-background-job-processing-solution/</guid>
      <description>In today&amp;rsquo;s web development landscape, handling background job processing efficiently has become crucial for building robust and scalable applications. Sidekiq stands out as a popular choice among developers due to its simplicity, reliability, and powerful features.</description>
    </item>
    <item>
      <title>Understanding CSRF in Ruby on Rails</title>
      <link>https://www.toidang.xyz/posts/2020/01/07/understanding-csrf-in-ruby-on-rails/</link>
      <pubDate>Tue, 07 Jan 2020 21:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2020/01/07/understanding-csrf-in-ruby-on-rails/</guid>
      <description>CSRF (Cross-Site Request Forgery) is a type of attack where an attacker tricks a user into performing unintended actions on a web application in which the user is authenticated. In Rails, CSRF protection is implemented to prevent such attacks. This article explains what CSRF is, how it works in Rails, and the mechanisms used to prevent CSRF attacks.</description>
    </item>
    <item>
      <title>Ruby on Rails Best Practices</title>
      <link>https://www.toidang.xyz/posts/2016/10/04/ruby-on-rails-best-practices/</link>
      <pubDate>Tue, 04 Oct 2016 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2016/10/04/ruby-on-rails-best-practices/</guid>
      <description>In Ruby on Rails, following best practices is essential for writing clean, maintainable, and efficient code. By adhering to established conventions and guidelines, developers can optimize their codebase, improve performance, and enhance the overall quality of their Rails applications. Let&amp;rsquo;s explore some of the best practices for Ruby on Rails development.</description>
    </item>
  </channel>
</rss>
