{"id":3804,"date":"2022-02-17T10:11:03","date_gmt":"2022-02-17T10:11:03","guid":{"rendered":"http:\/\/the-codest.localhost\/blog\/ways-to-increase-your-rails-performance\/"},"modified":"2024-07-04T21:01:27","modified_gmt":"2024-07-04T21:01:27","slug":"%d8%b7%d8%b1%d9%82-%d9%84%d8%b2%d9%8a%d8%a7%d8%af%d8%a9-%d8%a3%d8%af%d8%a7%d8%a1-%d8%a7%d9%84%d9%82%d8%b6%d8%a8%d8%a7%d9%86-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5%d8%a9-%d8%a8%d9%83","status":"publish","type":"post","link":"https:\/\/thecodest.co\/ar\/blog\/ways-to-increase-your-rails-performance\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u0632\u064a\u0627\u062f\u0629 \u0623\u062f\u0627\u0621 \u0627\u0644\u0642\u0636\u0628\u0627\u0646"},"content":{"rendered":"<h2 class=\"wp-block-heading\"><strong>\u0631\u0648\u0628\u064a \u0641\u064a\u0631\u0633\u062a<\/strong><\/h2>\n\n\n\n<p><strong><a href=\"https:\/\/thecodest.co\/ar\/case-studies\/providing-a-team-of-ruby-developers-for-a-fintech-company\/\">\u0631\u0648\u0628\u064a<\/a><\/strong> \u0647\u064a \u0644\u063a\u0629 \u0645\u0648\u062c\u0647\u0629 \u0644\u0644\u0643\u0627\u0626\u0646\u0627\u062a \u0628\u0634\u0643\u0644 \u0643\u0628\u064a\u0631. \u0641\u064a \u0627\u0644\u0648\u0627\u0642\u0639\u060c \u0643\u0644 \u0634\u064a\u0621 (\u062a\u0642\u0631\u064a\u0628\u064b\u0627) \u0641\u064a <strong>\u0631\u0648\u0628\u064a<\/strong> \u0643\u0627\u0626\u0646. \u0642\u062f \u064a\u0643\u0644\u0641 \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646\u0627\u062a \u063a\u064a\u0631 \u0636\u0631\u0648\u0631\u064a\u0629 \u0628\u0631\u0646\u0627\u0645\u062c\u0643 \u0627\u0644\u0643\u062b\u064a\u0631 \u0645\u0646 \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0625\u0636\u0627\u0641\u064a \u0644\u0644\u0630\u0627\u0643\u0631\u0629\u060c \u0644\u0630\u0627 \u0639\u0644\u064a\u0643 \u062a\u062c\u0646\u0628 \u0630\u0644\u0643.<\/p>\n\n\n\n<p>\u0648\u0644\u0642\u064a\u0627\u0633 \u0627\u0644\u0641\u0631\u0642\u060c \u0633\u0646\u0633\u062a\u062e\u062f\u0645 \u0623\u062f\u0627\u0629 <em><a href=\"https:\/\/github.com\/SamSaffron\/memory_profiler\">\u0645\u064a\u0645\u0648\u0631\u064a_\u0628\u0631\u0648\u0641\u064a\u0644\u0631 \u0627\u0644\u0630\u0627\u0643\u0631\u0629<\/a><\/em> \u062c\u0648\u0647\u0631\u0629 \u0648\u0648\u062d\u062f\u0629 \u0645\u0639\u064a\u0627\u0631\u064a\u0629 \u0645\u062f\u0645\u062c\u0629 \u0644\u0642\u064a\u0627\u0633 \u0627\u0644\u0623\u062f\u0627\u0621 \u0627\u0644\u0632\u0645\u0646\u064a.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u0633\u062a\u062e\u062f\u0645 \u0637\u0631\u0642 \u0627\u0644\u0636\u0631\u0628 \u0639\u0644\u0649 \u0627\u0644\u0633\u0644\u0627\u0633\u0644<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u062a\u062a\u0637\u0644\u0628 \"\u0645\u064a\u0645\u0648\u0631\u064a_\u0628\u0631\u0648\u0641\u064a\u0644\u0631\"\n\n\u062a\u0642\u0631\u064a\u0631 = MemoryProfiler.report.report do\n<a href=\"https:\/\/thecodest.co\/ar\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a<\/a> = \"X\" * 1024 * 1024 * 100\n\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a = data.downcase \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629\n\n\u062a\u0642\u0631\u064a\u0631.pretty_print<\/code><\/pre>\n\n\n\n<p>\u0641\u064a \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0623\u062f\u0646\u0627\u0647\u060c \u0623\u0646\u0634\u0623\u0646\u0627 \u0633\u0644\u0633\u0644\u0629 \u062d\u062c\u0645\u0647\u0627 100 \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a \u0648\u0642\u0645\u0646\u0627 \u0628\u062a\u0635\u063a\u064a\u0631 \u0643\u0644 \u062d\u0631\u0641 \u0645\u0648\u062c\u0648\u062f \u0641\u064a\u0647\u0627. \u064a\u0639\u0637\u064a \u0645\u0639\u064a\u0627\u0631\u0646\u0627 <a href=\"https:\/\/thecodest.co\/ar\/blog\/why-us-companies-are-opting-for-polish-developers\/\">\u0644\u0646\u0627<\/a> \u0627\u0644\u062a\u0642\u0631\u064a\u0631 \u0627\u0644\u062a\u0627\u0644\u064a:<\/p>\n\n\n\n<p><em>\u0625\u062c\u0645\u0627\u0644\u064a \u0627\u0644\u0645\u062e\u0635\u0635 210765044 \u0628\u0627\u064a\u062a (6 \u0643\u0627\u0626\u0646\u0627\u062a)<\/em><\/p>\n\n\n\n<p>\u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0625\u0630\u0627 \u0627\u0633\u062a\u0628\u062f\u0644\u0646\u0627 \u0627\u0644\u0633\u0637\u0631 6 \u0628\u0640<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">data.downcase!<\/code>&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p><code> <\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u0633\u0637\u0631\u064b\u0627 \u062a\u0644\u0648 \u0627\u0644\u0622\u062e\u0631<\/strong><\/h2>\n\n\n\n<p>\u0645\u0646 \u0627\u0644\u0645\u0641\u062a\u0631\u0636 \u0623\u0646\u0646\u0627 \u0646\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062c\u0644\u0628 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0636\u062e\u0645\u0629 \u0645\u0646 2 \u0645\u0644\u064a\u0648\u0646 \u0633\u062c\u0644 \u0645\u0646 \u0645\u0644\u0641 csv. \u0639\u0627\u062f\u0629\u060c \u0633\u064a\u0628\u062f\u0648 \u0627\u0644\u0623\u0645\u0631 \u0647\u0643\u0630\u0627<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u062a\u062a\u0637\u0644\u0628 \"\u0645\u0639\u064a\u0627\u0631\n\nBenchmark.bm do |x|\nx.report do\nFile.readlines(\"2mrecords.csv\").map! {||\u0627\u0644\u062e\u0637|\u0627\u0644\u062e\u0637.line.split(\"\u060c\")}\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">\u0625\u062c\u0645\u0627\u0644\u064a \u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062d\u0642\u064a\u0642\u064a\n\n12.797000 2.437000 15.234000 (106.319865)<\/code><\/pre>\n\n\n\n<p>\u0627\u0633\u062a\u063a\u0631\u0642\u0646\u0627 \u0623\u0643\u062b\u0631 \u0645\u0646 106 \u062b\u0627\u0646\u064a\u0629 \u0644\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \u0628\u0627\u0644\u0643\u0627\u0645\u0644. \u0643\u062b\u064a\u0631\u0627\u064b \u062c\u062f\u0627\u064b! \u0648\u0644\u0643\u0646 \u064a\u0645\u0643\u0646\u0646\u0627 \u062a\u0633\u0631\u064a\u0639 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064a\u0629 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0627\u0633\u062a\u0628\u062f\u0627\u0644 <em>\u0627\u0644\u062e\u0631\u064a\u0637\u0629<\/em> \u0645\u0639 \u0637\u0631\u064a\u0642\u0629 \u0628\u0633\u064a\u0637\u0629 <em>\u0628\u064a\u0646\u0645\u0627<\/em> \u062d\u0644\u0642\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u062a\u062a\u0637\u0644\u0628 \"\u0645\u0639\u064a\u0627\u0631\n\nBenchmark.bm do |x|\nx.report do\n\u0645\u0644\u0641 = file.open(\"2mrecords.csv\", \"r\")\n\u0628\u064a\u0646\u0645\u0627 \u0627\u0644\u0633\u0637\u0631 = file.gets\nline.split(\"\u060c\")\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">\u0625\u062c\u0645\u0627\u0644\u064a \u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062d\u0642\u064a\u0642\u064a\n\n6.078000 0.250000 6.328000 ( 6.649422)<\/code><\/pre>\n\n\n\n<p>\u0644\u0642\u062f \u0627\u0646\u062e\u0641\u0636 \u0648\u0642\u062a \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0622\u0646 \u0628\u0634\u0643\u0644 \u0643\u0628\u064a\u0631 \u0645\u0646\u0630 <em>\u0627\u0644\u062e\u0631\u064a\u0637\u0629<\/em> \u064a\u0646\u062a\u0645\u064a \u0625\u0644\u0649 \u0641\u0626\u0629 \u0645\u0639\u064a\u0646\u0629\u060c \u0645\u062b\u0644 <em>\u062e\u0631\u064a\u0637\u0629 Hash#map<\/em> \u0623\u0648 <em>Array#map<\/em>\u062d\u064a\u062b <strong>\u0631\u0648\u0628\u064a<\/strong> \u0633\u064a\u062e\u0632\u0646 \u0643\u0644 \u0633\u0637\u0631 \u0645\u0646 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u064f\u062d\u0644\u0644 \u062f\u0627\u062e\u0644 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0637\u0627\u0644\u0645\u0627 \u062a\u0645 \u062a\u0646\u0641\u064a\u0630\u0647. <strong>\u062c\u0627\u0645\u0639 \u0642\u0645\u0627\u0645\u0629 \u0631\u0648\u0628\u064a <\/strong>\u0644\u0646 \u064a\u062d\u0631\u0631 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0642\u0628\u0644 \u062a\u0646\u0641\u064a\u0630 \u062a\u0644\u0643 \u0627\u0644\u0645\u0643\u0631\u0631\u0627\u062a \u0628\u0627\u0644\u0643\u0627\u0645\u0644. \u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0641\u0625\u0646 \u0642\u0631\u0627\u0621\u062a\u0647\u0627 \u0633\u0637\u0631\u064b\u0627 \u0628\u0633\u0637\u0631 \u0633\u064a\u0624\u062f\u064a \u0625\u0644\u0649 \u0646\u0642\u0644 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0645\u0646 \u0627\u0644\u0623\u0633\u0637\u0631 \u0627\u0644\u0633\u0627\u0628\u0642\u0629 \u0639\u0646\u062f\u0645\u0627 \u0644\u0627 \u064a\u0643\u0648\u0646 \u0630\u0644\u0643 \u0636\u0631\u0648\u0631\u064a\u064b\u0627.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u062a\u062c\u0646\u0628 \u0645\u0643\u0631\u0631\u0627\u062a \u0627\u0644\u0623\u0633\u0644\u0648\u0628 \u0639\u0644\u0649 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0643\u0628\u064a\u0631\u0629<\/strong><\/h2>\n\n\n\n<p>\u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629 \u0627\u0645\u062a\u062f\u0627\u062f \u0644\u0644\u0646\u0642\u0637\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629 \u0645\u0639 \u0645\u062b\u0627\u0644 \u0623\u0643\u062b\u0631 \u0634\u064a\u0648\u0639\u064b\u0627. \u0643\u0645\u0627 \u0630\u0643\u0631\u062a, <a href=\"https:\/\/thecodest.co\/blog\/high-demand-for-ruby-developers\/\">\u0631\u0648\u0628\u064a<\/a> \u0627\u0644\u062a\u0643\u0631\u0627\u0631\u0627\u062a \u0647\u064a \u0637\u0631\u0627\u0626\u0642 \u0643\u0627\u0626\u0646\u0627\u062a \u0648\u0644\u0646 \u062a\u062d\u0631\u0631 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0637\u0627\u0644\u0645\u0627 \u0623\u0646\u0647\u0627 \u062a\u064f\u0646\u0641\u064e\u0651\u0630. \u0639\u0644\u0649 \u0646\u0637\u0627\u0642 \u0635\u063a\u064a\u0631\u060c \u0644\u0627 \u0645\u0639\u0646\u0649 \u0644\u0644\u0641\u0631\u0642 (\u0648\u0637\u0631\u0642 \u0645\u062b\u0644 <em>\u0627\u0644\u062e\u0631\u064a\u0637\u0629<\/em> \u064a\u0628\u062f\u0648 \u0623\u0643\u062b\u0631 \u0642\u0627\u0628\u0644\u064a\u0629 \u0644\u0644\u0642\u0631\u0627\u0621\u0629). \u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0639\u0646\u062f\u0645\u0627 \u064a\u062a\u0639\u0644\u0642 \u0627\u0644\u0623\u0645\u0631 \u0628\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0628\u064a\u0627\u0646\u0627\u062a \u0623\u0643\u0628\u0631\u060c \u0645\u0646 \u0627\u0644\u062c\u064a\u062f \u062f\u0627\u0626\u0645\u064b\u0627 \u0627\u0644\u062a\u0641\u0643\u064a\u0631 \u0641\u064a \u0627\u0633\u062a\u0628\u062f\u0627\u0644\u0647\u0627 \u0628\u062d\u0644\u0642\u0627\u062a \u0623\u0633\u0627\u0633\u064a\u0629 \u0623\u0643\u062b\u0631. \u0643\u0645\u0627 \u0641\u064a \u0627\u0644\u0645\u062b\u0627\u0644 \u0623\u062f\u0646\u0627\u0647:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0639\u062f\u062f \u0627\u0644\u0639\u0646\u0627\u0635\u0631 = 10000000\nrandoms = Array.new.new(numberofelements) { rand(10)}\n\nrandoms.every \u062a\u0641\u0639\u0644 ||\u062e\u0637 |\n#\u0641\u0639\u0644 \u0634\u064a\u0626\u064b\u0627 \u0645\u0627\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629<\/code><\/pre>\n\n\n\n<p>\u0648\u0628\u0639\u062f \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0647\u064a\u0643\u0644\u0629<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0639\u062f\u062f \u0627\u0644\u0639\u0646\u0627\u0635\u0631 = 10000000\nrandoms = Array.new.new(numberofelements) { rand(10)}\n\n\u0628\u064a\u0646\u0645\u0627 randoms.count &gt; 0\n\u0627\u0644\u062e\u0637 = randoms.shift\n1TP63\u0641\u0639\u0644 \u0634\u064a\u0621 \u0645\u0627\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629\n\"`<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u0633\u062a\u062e\u062f\u0645 \u0637\u0631\u064a\u0642\u0629 String::&lt;&lt;&lt;<\/strong><\/h2>\n\n\n\n<p>\u0647\u0630\u0647 \u0646\u0635\u064a\u062d\u0629 \u0633\u0631\u064a\u0639\u0629 \u0648\u0645\u0641\u064a\u062f\u0629 \u0644\u0644\u063a\u0627\u064a\u0629. \u0625\u0630\u0627 \u0623\u0644\u062d\u0642\u062a \u0633\u0644\u0633\u0644\u0629 \u0628\u0623\u062e\u0631\u0649 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0639\u0627\u0645\u0644 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 +=+= \u062e\u0644\u0641 \u0627\u0644\u0643\u0648\u0627\u0644\u064a\u0633. <strong>\u0631\u0648\u0628\u064a <\/strong> \u0633\u064a\u0646\u0634\u0626 \u0643\u0627\u0626\u0646\u064b\u0627 \u0625\u0636\u0627\u0641\u064a\u064b\u0627. \u0625\u0630\u0646\u060c \u0647\u0630\u0627\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0623 = \"\u0633\"\n \u0628 = \"Y\"\n \u0623 += \u0628<\/code>&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0641\u064a \u0627\u0644\u0648\u0627\u0642\u0639 \u0647\u0630\u0627 \u064a\u0639\u0646\u064a \u0647\u0630\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0623 = \"\u0633\"\n \u0628 = \"Y\"\n \u062c = \u0623 + \u0628\n \u0623 = \u062c<\/code>&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0633\u064a\u062a\u062c\u0646\u0628 \u0627\u0644\u0645\u0634\u063a\u0644 \u0630\u0644\u0643\u060c \u0645\u0645\u0627 \u064a\u0648\u0641\u0631 \u0644\u0643 \u0628\u0639\u0636 \u0627\u0644\u0630\u0627\u0643\u0631\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">&lt; \u0623 = &quot;\u0633&quot;\n \u0628 = &quot;Y&quot;\n \u0623 &lt;&lt; \u0628<\/code>&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0644\u0646\u062a\u062d\u062f\u062b \u0639\u0646 \u0627\u0644\u0642\u0636\u0628\u0627\u0646<\/strong><\/h2>\n\n\n\n<p>\u0625\u0646 <strong>\u0625\u0637\u0627\u0631 \u0639\u0645\u0644 \u0627\u0644\u0642\u0636\u0628\u0627\u0646 <\/strong> \u064a\u0645\u062a\u0644\u0643 \u0627\u0644\u0643\u062b\u064a\u0631 \u0645\u0646 \"<em>\u063a\u064a\u062a\u0634\u0627\u0633<\/em>\" \u0627\u0644\u062a\u064a \u0645\u0646 \u0634\u0623\u0646\u0647\u0627 \u0623\u0646 \u062a\u0633\u0645\u062d \u0644\u0643 \u0628\u062a\u062d\u0633\u064a\u0646 <a href=\"https:\/\/thecodest.co\/ar\/dictionary\/what-is-code-refactoring\/\">\u0627\u0644\u0643\u0648\u062f<\/a> \u0628\u0633\u0631\u0639\u0629 \u0648\u0628\u062f\u0648\u0646 \u0628\u0630\u0644 \u0627\u0644\u0643\u062b\u064a\u0631 \u0645\u0646 \u0627\u0644\u062c\u0647\u062f \u0627\u0644\u0625\u0636\u0627\u0641\u064a.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u0644\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u062d\u0631\u064a\u0635 \u0627\u0644\u0645\u0639\u0631\u0648\u0641 \u0623\u064a\u0636\u064b\u0627 \u0628\u0627\u0633\u0645 \u0645\u0634\u0643\u0644\u0629 \u0627\u0644\u0627\u0633\u062a\u0639\u0644\u0627\u0645 n+1<\/strong><\/h2>\n\n\n\n<p>\u062f\u0639\u0646\u0627 \u0646\u0641\u062a\u0631\u0636 \u0623\u0646 \u0644\u062f\u064a\u0646\u0627 \u0646\u0645\u0648\u0630\u062c\u064a\u0646 \u0645\u0631\u062a\u0628\u0637\u064a\u0646 \u0647\u0645\u0627 \"\u0627\u0644\u0645\u0646\u0634\u0648\u0631\" \u0648\"\u0627\u0644\u0645\u0624\u0644\u0641\":<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0641\u0626\u0629 \u0627\u0644\u0645\u0624\u0644\u0641 &lt;\u0633\u062c\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\n\u0644\u062f\u064a\u0647_\u0643\u062b\u064a\u0631 :\u0627\u0644\u0645\u0634\u0627\u0631\u0643\u0627\u062a\n\u0646\u0647\u0627\u064a\u0629\n\n\u0635\u0646\u0641 \u0645\u0646\u0634\u0648\u0631 &lt; \u0633\u062c\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\n\u064a\u0646\u062a\u0645\u064a_\u0625\u0644\u0649 :\u0627\u0644\u0645\u0624\u0644\u0641\n\u0627\u0644\u0646\u0647\u0627\u064a\u0629<\/code><\/pre>\n\n\n\n<p>\u0646\u0631\u064a\u062f \u062c\u0644\u0628 \u062c\u0645\u064a\u0639 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062a \u0641\u064a \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0646\u0627 \u0648\u0639\u0631\u0636\u0647\u0627 \u0641\u064a \u0637\u0631\u064a\u0642\u0629 \u0639\u0631\u0636 \u0645\u0639 \u0645\u0624\u0644\u0641\u064a\u0647\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645\n\n\u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0641\u0647\u0631\u0633\n@posts = Post.all.all.limit(20)\n\u0646\u0647\u0627\u064a\u0629\n\n\u0639\u0631\u0636<\/code><\/pre>\n\n\n\n<p>\u0641\u064a \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645, <a href=\"https:\/\/thecodest.co\/blog\/a-simple-ruby-application-from-scratch-with-active-record\/\">\u0623\u0643\u062a\u064a\u0641 \u0631\u064a\u0643\u0648\u0631\u062f<\/a> \u0633\u064a\u0646\u0634\u0626 \u0627\u0633\u062a\u0639\u0644\u0627\u0645\u064b\u0627 \u0648\u0627\u062d\u062f\u064b\u0627 \u0641\u0642\u0637 \u0644\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u0634\u0627\u0631\u0643\u0627\u062a\u0646\u0627. \u0648\u0644\u0643\u0646 \u0641\u064a \u0648\u0642\u062a \u0644\u0627\u062d\u0642\u060c \u0633\u064a\u0624\u062f\u064a \u0630\u0644\u0643 \u0623\u064a\u0636\u064b\u0627 \u0625\u0644\u0649 \u062a\u0634\u063a\u064a\u0644 20 \u0627\u0633\u062a\u0639\u0644\u0627\u0645\u064b\u0627 \u0622\u062e\u0631 \u0644\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0643\u0644 \u0645\u0624\u0644\u0641 \u0648\u0641\u0642\u064b\u0627 \u0644\u0630\u0644\u0643 - \u0645\u0645\u0627 \u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u064b\u0627 \u0625\u0636\u0627\u0641\u064a\u064b\u0627! \u0644\u062d\u0633\u0646 \u0627\u0644\u062d\u0638\u060c \u064a\u0623\u062a\u064a Rails \u0628\u062d\u0644 \u0633\u0631\u064a\u0639 \u0644\u062f\u0645\u062c \u0647\u0630\u0647 \u0627\u0644\u0627\u0633\u062a\u0639\u0644\u0627\u0645\u0627\u062a \u0641\u064a \u0627\u0633\u062a\u0639\u0644\u0627\u0645 \u0648\u0627\u062d\u062f. \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <em>\u062a\u0634\u0645\u0644<\/em> \u064a\u0645\u0643\u0646\u0646\u0627 \u0625\u0639\u0627\u062f\u0629 \u0643\u062a\u0627\u0628\u0629 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0628\u0647\u0630\u0647 \u0627\u0644\u0637\u0631\u064a\u0642\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0641\u0647\u0631\u0633\n     @posts = Post.all.total.includes(:author).limit(20)\n \u0646\u0647\u0627\u064a\u0629<\/code>&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0641\u064a \u0627\u0644\u0648\u0642\u062a \u0627\u0644\u062d\u0627\u0644\u064a\u060c \u0633\u064a\u062a\u0645 \u062c\u0644\u0628 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0636\u0631\u0648\u0631\u064a\u0629 \u0641\u0642\u0637 \u0641\u064a \u0627\u0633\u062a\u0639\u0644\u0627\u0645 \u0648\u0627\u062d\u062f.\u00a0<\/p>\n\n\n\n<p>\u064a\u0645\u0643\u0646\u0643 \u0623\u064a\u0636\u064b\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0623\u062d\u062c\u0627\u0631 \u0643\u0631\u064a\u0645\u0629 \u0623\u062e\u0631\u0649\u060c \u0645\u062b\u0644 <a href=\"https:\/\/github.com\/flyerhzm\/bullet\">\u0631\u0635\u0627\u0635\u0629<\/a> \u0644\u062a\u062e\u0635\u064a\u0635 \u0627\u0644\u0639\u0645\u0644\u064a\u0629 \u0628\u0623\u0643\u0645\u0644\u0647\u0627.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u062a\u0635\u0644 \u0628\u0645\u0627 \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u064a\u0647 \u0641\u0642\u0637<\/strong><\/h2>\n\n\n\n<p>\u0623\u0633\u0644\u0648\u0628 \u0622\u062e\u0631 \u0645\u0641\u064a\u062f \u0644\u0632\u064a\u0627\u062f\u0629 \u0633\u0631\u0639\u0629 ActiveRecord \u0647\u0648 \u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u062a\u0644\u0643 \u0627\u0644\u0633\u0645\u0627\u062a \u0627\u0644\u0636\u0631\u0648\u0631\u064a\u0629 \u0641\u0642\u0637 \u0644\u0623\u063a\u0631\u0627\u0636\u0643 \u0627\u0644\u062d\u0627\u0644\u064a\u0629. \u0647\u0630\u0627 \u0645\u0641\u064a\u062f \u0628\u0634\u0643\u0644 \u062e\u0627\u0635 \u0639\u0646\u062f\u0645\u0627 \u064a\u0628\u062f\u0623 \u062a\u0637\u0628\u064a\u0642\u0643 \u0641\u064a \u0627\u0644\u0646\u0645\u0648 \u0648\u064a\u0632\u062f\u0627\u062f \u0639\u062f\u062f \u0627\u0644\u0623\u0639\u0645\u062f\u0629 \u0641\u064a \u0643\u0644 \u062c\u062f\u0648\u0644 \u0623\u064a\u0636\u064b\u0627.<\/p>\n\n\n\n<p>\u0644\u0646\u0623\u062e\u0630 \u0627\u0644\u0634\u064a\u0641\u0631\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629 \u0643\u0645\u062b\u0627\u0644 \u0648\u0646\u0641\u062a\u0631\u0636 \u0623\u0646\u0646\u0627 \u0646\u062d\u062a\u0627\u062c \u0641\u0642\u0637 \u0625\u0644\u0649 \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0623\u0633\u0645\u0627\u0621 \u0645\u0646 \u0627\u0644\u0645\u0624\u0644\u0641\u064a\u0646. \u0644\u0630\u0627\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0625\u0639\u0627\u062f\u0629 \u0643\u062a\u0627\u0628\u0629 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0646\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">&lt;\u0645\u0624\u0634\u0631 \u0627\u0644\u062a\u0639\u0631\u064a\u0641\n     @posts = Post.all.all.includes(:author).select(&quot;name&quot;).limit(20)\n \u0646\u0647\u0627\u064a\u0629<\/code>&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0627\u0644\u0622\u0646 \u0646\u0648\u062c\u0647 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u062f\u064a\u0646\u0627 \u0644\u062a\u062e\u0637\u064a \u062c\u0645\u064a\u0639 \u0627\u0644\u0633\u0645\u0627\u062a \u0628\u0627\u0633\u062a\u062b\u0646\u0627\u0621 \u062a\u0644\u0643 \u0627\u0644\u062a\u064a \u0646\u062d\u062a\u0627\u062c\u0647\u0627.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u062c\u0632\u0626\u064a\u0627\u062a \u0628\u0634\u0643\u0644 \u0635\u062d\u064a\u062d<\/strong><\/h2>\n\n\n\n<p>\u0644\u0646\u0641\u062a\u0631\u0636 \u0623\u0646\u0646\u0627 \u0646\u0631\u064a\u062f \u0625\u0646\u0634\u0627\u0621 \u062c\u0632\u0621 \u0645\u0646\u0641\u0635\u0644 \u0644\u0645\u0634\u0627\u0631\u0643\u0627\u062a\u0646\u0627 \u0645\u0646 \u0627\u0644\u0623\u0645\u062b\u0644\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">\n<\/code>&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0644\u0644\u0648\u0647\u0644\u0629 \u0627\u0644\u0623\u0648\u0644\u0649\u060c \u064a\u0628\u062f\u0648 \u0647\u0630\u0627 \u0627\u0644\u0631\u0645\u0632 \u0635\u062d\u064a\u062d\u064b\u0627. \u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0645\u0639 \u0648\u062c\u0648\u062f \u0639\u062f\u062f \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062a \u0627\u0644\u0645\u0631\u0627\u062f \u062a\u0635\u064a\u064a\u0631\u0647\u0627\u060c \u0633\u062a\u0643\u0648\u0646 \u0627\u0644\u0639\u0645\u0644\u064a\u0629 \u0628\u0623\u0643\u0645\u0644\u0647\u0627 \u0623\u0628\u0637\u0623 \u0628\u0643\u062b\u064a\u0631. \u0647\u0630\u0627 \u0628\u0633\u0628\u0628 <strong>\u0627\u0644\u0642\u0636\u0628\u0627\u0646 <\/strong> \u064a\u0633\u062a\u062f\u0639\u064a \u0627\u0644\u062c\u0632\u0626\u064a \u0627\u0644\u062e\u0627\u0635 \u0628\u0646\u0627 \u0628\u062a\u0643\u0631\u0627\u0631 \u062c\u062f\u064a\u062f \u0645\u0631\u0629 \u0623\u062e\u0631\u0649. \u064a\u0645\u0643\u0646\u0646\u0627 \u0625\u0635\u0644\u0627\u062d \u0630\u0644\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <em>\u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a<\/em> \u0627\u0644\u0645\u064a\u0632\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\"><code><code><code><\/code>&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f&lt;\/\u0643\u0648\u062f<\/pre>\n\n\n\n<p>\u0627\u0644\u0622\u0646, <strong>\u0627\u0644\u0642\u0636\u0628\u0627\u0646<\/strong> \u0633\u064a\u0643\u062a\u0634\u0641 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0627\u0644\u0642\u0627\u0644\u0628 \u0627\u0644\u0630\u064a \u064a\u062c\u0628 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0648\u062a\u0647\u064a\u0626\u062a\u0647 \u0645\u0631\u0629 \u0648\u0627\u062d\u062f\u0629 \u0641\u0642\u0637.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0645\u0639\u0627\u0644\u062c\u0629 \u0627\u0644\u062e\u0644\u0641\u064a\u0629<\/strong><\/h2>\n\n\n\n<p>\u064a\u0645\u0643\u0646 \u0627\u0639\u062a\u0628\u0627\u0631 \u0643\u0644 \u0639\u0645\u0644\u064a\u0629 \u062a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u064b\u0627 \u0623\u0637\u0648\u0644 \u0648\u0644\u064a\u0633\u062a \u062d\u0627\u0633\u0645\u0629 \u0644\u062a\u062f\u0641\u0642\u0643 \u0627\u0644\u062d\u0627\u0644\u064a \u0645\u0631\u0634\u062d\u0629 \u062c\u064a\u062f\u0629 \u0644\u0644\u0645\u0639\u0627\u0644\u062c\u0629 \u0641\u064a \u0627\u0644\u062e\u0644\u0641\u064a\u0629\u060c \u0645\u062b\u0644 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0623\u0648 \u062c\u0645\u0639 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0623\u0648 \u062a\u0642\u062f\u064a\u0645 \u062a\u0642\u0627\u0631\u064a\u0631 \u062f\u0648\u0631\u064a\u0629.&nbsp;<\/p>\n\n\n\n<p><strong>\u0635\u062f\u0651\u064a\u0642<\/strong> \u0647\u064a \u0627\u0644\u062c\u0648\u0647\u0631\u0629 \u0627\u0644\u0623\u0643\u062b\u0631 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u064b\u0627 \u0644\u0645\u0639\u0627\u0644\u062c\u0629 \u0627\u0644\u062e\u0644\u0641\u064a\u0629. \u064a\u0633\u062a\u062e\u062f\u0645 <strong>\u0631\u064a\u062f\u064a\u0633<\/strong> \u0644\u062a\u062e\u0632\u064a\u0646 \u0627\u0644\u0645\u0647\u0627\u0645. \u0643\u0645\u0627 \u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0627\u0644\u062a\u062d\u0643\u0645 \u0641\u064a \u062a\u062f\u0641\u0642 \u0639\u0645\u0644\u064a\u0627\u062a \u0627\u0644\u062e\u0644\u0641\u064a\u0629 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643\u060c \u0648\u062a\u0642\u0633\u064a\u0645\u0647\u0627 \u0625\u0644\u0649 \u0642\u0648\u0627\u0626\u0645 \u0627\u0646\u062a\u0638\u0627\u0631 \u0645\u0646\u0641\u0635\u0644\u0629 \u0648\u0625\u062f\u0627\u0631\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0644\u0643\u0644 \u0645\u0646\u0647\u0627.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u0643\u062a\u0628 \u0643\u0648\u062f\u0627\u064b \u0628\u0631\u0645\u062c\u064a\u0627\u064b \u0623\u0642\u0644\u060c \u0648\u0627\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0623\u062d\u062c\u0627\u0631 \u0627\u0644\u0643\u0631\u064a\u0645\u0629<\/strong><\/h2>\n\n\n\n<p><strong>\u0627\u0644\u0642\u0636\u0628\u0627\u0646 <\/strong> \u062c\u0627\u0621 \u0628\u0639\u062f\u062f \u0647\u0627\u0626\u0644 \u0645\u0646 \u0627\u0644\u062c\u0648\u0627\u0647\u0631 \u0627\u0644\u062a\u064a \u0644\u0627 \u062a\u062c\u0639\u0644 \u062d\u064a\u0627\u062a\u0643 \u0623\u0633\u0647\u0644 \u0648\u062a\u0633\u0631\u0639 \u0645\u0646 \u0639\u0645\u0644\u064a\u0629 <a href=\"https:\/\/thecodest.co\/ar\/blog\/how-the-codests-team-extension-model-can-transform-your-in-house-development-team\/\">\u0639\u0645\u0644\u064a\u0629 \u0627\u0644\u062a\u0637\u0648\u064a\u0631<\/a>\u0648\u0644\u0643\u0646 \u0623\u064a\u0636\u064b\u0627 \u062a\u0632\u064a\u062f \u0645\u0646 \u0633\u0631\u0639\u0629 \u0623\u062f\u0627\u0621 \u062a\u0637\u0628\u064a\u0642\u0643. \u0627\u0644\u0623\u062d\u062c\u0627\u0631 \u0627\u0644\u0643\u0631\u064a\u0645\u0629 \u0645\u062b\u0644 Devise \u0623\u0648 Pundit \u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u062a\u0645 \u0627\u062e\u062a\u0628\u0627\u0631\u0647\u0627 \u0628\u0634\u0643\u0644 \u062c\u064a\u062f \u0641\u064a\u0645\u0627 \u064a\u062a\u0639\u0644\u0642 \u0628\u0633\u0631\u0639\u062a\u0647\u0627 \u0648\u062a\u0639\u0645\u0644 \u0628\u0634\u0643\u0644 \u0623\u0633\u0631\u0639 \u0648\u0623\u0643\u062b\u0631 \u0623\u0645\u0627\u0646\u064b\u0627 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u0627\u062a \u0627\u0644\u0628\u0631\u0645\u062c\u064a\u0629 \u0627\u0644\u0645\u0643\u062a\u0648\u0628\u0629 \u062e\u0635\u064a\u0635\u064b\u0627 \u0644\u0646\u0641\u0633 \u0627\u0644\u063a\u0631\u0636.<\/p>\n\n\n\n<p>\u0641\u064a \u062d\u0627\u0644\u0629 \u0648\u062c\u0648\u062f \u0623\u064a \u0623\u0633\u0626\u0644\u0629 \u0644\u062a\u062d\u0633\u064a\u0646 <em>\u0623\u062f\u0627\u0621 \u0627\u0644\u0642\u0636\u0628\u0627\u0646<\/em>\u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 <strong><a href=\"https:\/\/thecodest.co\">\u0645\u0647\u0646\u062f\u0633\u0648\u0646 The Codest<\/a><\/strong> \u0627\u0644\u062e\u0631\u0648\u062c \u0644\u0627\u0633\u062a\u0634\u0627\u0631\u0629 \u0634\u0643\u0648\u0643\u0643.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/thecodest.co\/careers#offers]\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/ruby-1-.png\" alt=\"\u0639\u0631\u0636 \u0645\u0637\u0648\u0631 \u0631\u0648\u0628\u064a\"\/><\/a><\/figure>\n\n\n\n<p><strong>\u0627\u0642\u0631\u0623 \u0627\u0644\u0645\u0632\u064a\u062f:<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/pros-and-cons-of-ruby-software-development\/\">\u0625\u064a\u062c\u0627\u0628\u064a\u0627\u062a \u0648\u0633\u0644\u0628\u064a\u0627\u062a \u062a\u0637\u0648\u064a\u0631 \u0628\u0631\u0645\u062c\u064a\u0627\u062a \u0631\u0648\u0628\u064a<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\">\u0627\u0644\u0633\u0643\u0643 \u0627\u0644\u062d\u062f\u064a\u062f\u064a\u0629 \u0648\u0648\u0633\u0627\u0626\u0644 \u0627\u0644\u0646\u0642\u0644 \u0627\u0644\u0623\u062e\u0631\u0649<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/rails-development-with-tmux-vim-fzf-ripgrep\">\u062a\u0637\u0648\u064a\u0631 \u0627\u0644\u0642\u0636\u0628\u0627\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 TMUX \u0648 Vim \u0648 Fzf + Ripgrep<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u0639\u0644\u0649 \u0627\u0644\u0631\u063a\u0645 \u0645\u0646 \u0645\u0632\u0627\u064a\u0627\u0647 \u0627\u0644\u0639\u062f\u064a\u062f\u0629\u060c \u0625\u0644\u0627 \u0623\u0646 Ruby on Rails \u0644\u0627 \u064a\u0632\u0627\u0644 \u064a\u0639\u062a\u0628\u0631 \u0625\u0637\u0627\u0631 \u0639\u0645\u0644 \u0648\u064a\u0628 \u0628\u0637\u064a\u0621 \u0646\u0633\u0628\u064a\u064b\u0627. \u0646\u0639\u0644\u0645 \u062c\u0645\u064a\u0639\u064b\u0627 \u0623\u0646 \u062a\u0648\u064a\u062a\u0631 \u0642\u062f \u062a\u0631\u0643 Rails \u0644\u0635\u0627\u0644\u062d \u0633\u0643\u0627\u0644\u0627. \u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0645\u0639 \u0628\u0639\u0636 \u0627\u0644\u062a\u062d\u0633\u064a\u0646\u0627\u062a \u0627\u0644\u0630\u0643\u064a\u0629 \u064a\u0645\u0643\u0646\u0643 \u062a\u0634\u063a\u064a\u0644 \u062a\u0637\u0628\u064a\u0642\u0643 \u0628\u0634\u0643\u0644 \u0623\u0633\u0631\u0639 \u0628\u0643\u062b\u064a\u0631!<\/p>","protected":false},"author":2,"featured_media":3805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase Rails Performance - The Codest<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecodest.co\/ar\/\u0627\u0644\u0645\u062f\u0648\u0646\u0629\/\u0637\u0631\u0642-\u0644\u0632\u064a\u0627\u062f\u0629-\u0623\u062f\u0627\u0621-\u0627\u0644\u0642\u0636\u0628\u0627\u0646-\u0627\u0644\u062e\u0627\u0635\u0629-\u0628\u0643\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase Rails Performance - The Codest\" \/>\n<meta property=\"og:description\" content=\"Despite its numerous advantages, Ruby on Rails is still considered to be a relatively slow web framework. We all know that Twitter has left Rails in favor of Scala. However, with a few cleaver improvements you can run your app significantly faster!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/ar\/\u0627\u0644\u0645\u062f\u0648\u0646\u0629\/\u0637\u0631\u0642-\u0644\u0632\u064a\u0627\u062f\u0629-\u0623\u062f\u0627\u0621-\u0627\u0644\u0642\u0636\u0628\u0627\u0646-\u0627\u0644\u062e\u0627\u0635\u0629-\u0628\u0643\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-17T10:11:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-04T21:01:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"thecodest\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thecodest\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/\"},\"author\":{\"name\":\"thecodest\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"headline\":\"How to Increase Rails Performance\",\"datePublished\":\"2022-02-17T10:11:03+00:00\",\"dateModified\":\"2024-07-04T21:01:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/\"},\"wordCount\":856,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/ways_to_increase_your_rails_performance.png\",\"articleSection\":[\"Software Development\"],\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/\",\"name\":\"How to Increase Rails Performance - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/ways_to_increase_your_rails_performance.png\",\"datePublished\":\"2022-02-17T10:11:03+00:00\",\"dateModified\":\"2024-07-04T21:01:27+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/ways_to_increase_your_rails_performance.png\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/ways_to_increase_your_rails_performance.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/ways-to-increase-your-rails-performance\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Increase Rails Performance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thecodest.co\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\",\"name\":\"thecodest\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"caption\":\"thecodest\"},\"url\":\"https:\\\/\\\/thecodest.co\\\/ar\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0643\u064a\u0641\u064a\u0629 \u0632\u064a\u0627\u062f\u0629 \u0623\u062f\u0627\u0621 \u0627\u0644\u0642\u0636\u0628\u0627\u0646 - The Codest","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thecodest.co\/ar\/\u0627\u0644\u0645\u062f\u0648\u0646\u0629\/\u0637\u0631\u0642-\u0644\u0632\u064a\u0627\u062f\u0629-\u0623\u062f\u0627\u0621-\u0627\u0644\u0642\u0636\u0628\u0627\u0646-\u0627\u0644\u062e\u0627\u0635\u0629-\u0628\u0643\/","og_locale":"ar_AR","og_type":"article","og_title":"How to Increase Rails Performance - The Codest","og_description":"Despite its numerous advantages, Ruby on Rails is still considered to be a relatively slow web framework. We all know that Twitter has left Rails in favor of Scala. However, with a few cleaver improvements you can run your app significantly faster!","og_url":"https:\/\/thecodest.co\/ar\/\u0627\u0644\u0645\u062f\u0648\u0646\u0629\/\u0637\u0631\u0642-\u0644\u0632\u064a\u0627\u062f\u0629-\u0623\u062f\u0627\u0621-\u0627\u0644\u0642\u0636\u0628\u0627\u0646-\u0627\u0644\u062e\u0627\u0635\u0629-\u0628\u0643\/","og_site_name":"The Codest","article_published_time":"2022-02-17T10:11:03+00:00","article_modified_time":"2024-07-04T21:01:27+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png","type":"image\/png"}],"author":"thecodest","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thecodest","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#article","isPartOf":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/"},"author":{"name":"thecodest","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"headline":"How to Increase Rails Performance","datePublished":"2022-02-17T10:11:03+00:00","dateModified":"2024-07-04T21:01:27+00:00","mainEntityOfPage":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/"},"wordCount":856,"commentCount":0,"image":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png","articleSection":["Software Development"],"inLanguage":"ar","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/","url":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/","name":"\u0643\u064a\u0641\u064a\u0629 \u0632\u064a\u0627\u062f\u0629 \u0623\u062f\u0627\u0621 \u0627\u0644\u0642\u0636\u0628\u0627\u0646 - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#primaryimage"},"image":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png","datePublished":"2022-02-17T10:11:03+00:00","dateModified":"2024-07-04T21:01:27+00:00","author":{"@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/"]}]},{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#primaryimage","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/ways_to_increase_your_rails_performance.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/blog\/ways-to-increase-your-rails-performance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"How to Increase Rails Performance"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thecodest.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Person","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76","name":"thecodest","image":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","caption":"thecodest"},"url":"https:\/\/thecodest.co\/ar\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/posts\/3804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/comments?post=3804"}],"version-history":[{"count":8,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/posts\/3804\/revisions"}],"predecessor-version":[{"id":8428,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/posts\/3804\/revisions\/8428"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/media\/3805"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/media?parent=3804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/categories?post=3804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/ar\/wp-json\/wp\/v2\/tags?post=3804"}],"curies":[{"name":"\u062f\u0628\u0644\u064a\u0648 \u0628\u064a","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}