<?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>Active Record on ToiDB</title>
    <link>https://www.toidang.xyz/tags/active-record/</link>
    <description>Recent content in Active Record 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/active-record/index.xml" rel="self" type="application/rss+xml" />
    <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>
  </channel>
</rss>
