{"id":9959,"date":"2020-04-22T14:18:41","date_gmt":"2020-04-22T08:48:41","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=9959"},"modified":"2023-04-07T14:46:18","modified_gmt":"2023-04-07T09:16:18","slug":"common-ruby-on-rails-development-mistakes-to-avoid","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/","title":{"rendered":"8 Common Ruby on Rails Development Mistakes to avoid"},"content":{"rendered":"\n<p>Ruby on Rails is a powerful web development framework that allows building scalable, enterprise-ready applications with complete front-end support. The simplest things about Ruby on Rails development like Convention Over Configuration and MVC pattern make it reliable for highly-functional apps.<\/p>\n\n\n\n<p>Rails developers love the <strong>RubyGems<\/strong> that reduce the development time and the need to write excess code. They follow the standard practice and build rapid <strong>MVPs<\/strong>, providing companies more time-to-market their products.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.botreetechnologies.com\/blog\/case-study-of-caregiver-website-built-with-ruby-on-rails\/\"><img decoding=\"async\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/04\/session-pdf-cta-blog-bnr.png\" alt=\"Large Scale Application Design in Ruby on Rails\" class=\"wp-image-17167\"\/><\/a><\/figure>\n\n\n\n<p>But <a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noopener noreferrer\">Ruby on Rails application development<\/a> is not foolproof. While there may be no inherent mistakes with Ruby on Rails projects, problems generally occur due to human errors. There are certain pitfalls of Ruby on Rails developers that can only be overcome by experience. In this article, we highlight 8 common Ruby on Rails development mistakes that can put your project to a halt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The 8 most Common Mistakes in Ruby on Rails Development<\/h2>\n\n\n\n<p>The following common Rails development mistakes can act as a bottleneck for your project. Don\u2019t worry, we have also provided the solution for these mistakes so that you don\u2019t make them in the future. We provide you the guidance to avoid these mistakes in the Ruby on Rails projects and develop bug-free solutions for your clients.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #1: Do You Check N + 1 Query Rail<\/h3>\n\n\n\n<p>It won\u2019t throw any issue in the application, however, it will affect your application performance.<\/p>\n\n\n\n<p><strong>Eg<\/strong>:<\/p>\n\n\n\n<p><code>users = User.where(is_active: true)<\/code><br><code>names = users.map { |user| user.profile.name }<\/code><\/p>\n\n\n\n<p>You can avoid N + 1 Query while querying associated records.<\/p>\n\n\n\n<p><strong>Eg<\/strong>:<\/p>\n\n\n\n<p><code>users = User.where(is_active: true).includes(:profile)<\/code><br><code>names = users.map { |user| user.profile.name }<\/code><\/p>\n\n\n\n<p>Use bullet gem that helps to increase your application&#8217;s performance by reducing the number of queries it makes and notifies when to add eager loading.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #2: Keep Your Configurations Safe<\/h3>\n\n\n\n<p>Your application might be using some external services such as <a href=\"https:\/\/www.botreetechnologies.com\/blog\/how-to-create-events-in-google-calendar-from-ruby-on-rails-application\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Calendar<\/a>, <a href=\"https:\/\/www.botreetechnologies.com\/blog\/how-to-securely-handle-webhook-events-from-stripe-in-ruby-on-rails-application\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stripe Payment<\/a>, <a href=\"https:\/\/www.botreetechnologies.com\/aws-devops-services\" target=\"_blank\" rel=\"noreferrer noopener\">AWS<\/a> and its API keys or credentials are stored in <code>credentials.yml<\/code> or <code>secrets.yml<\/code> files.<\/p>\n\n\n\n<p>The file often mistakenly gets checked into the source code repository with the rest of your application and, when this happens, anyone with access to the repository can now easily compromise all users of your application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #3:&nbsp;Putting too much logic in controllers.<\/h3>\n\n\n\n<p>Developers keep too much logic in controllers. Keep the controllers skinny. Do not violate the Single responsibility principle.<\/p>\n\n\n\n<p><strong>What to include?<\/strong><\/p>\n\n\n\n<p>Session Handling, Model selection, Request parameter management, Rendering\/redirecting<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"150\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/ror-developers-cta.png\" alt=\"Hire ruby on rails developers\" class=\"wp-image-15042\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/ror-developers-cta.png 700w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/ror-developers-cta-300x64.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #4: Putting too much logic in models.<\/h3>\n\n\n\n<p>Developers PUT too much logic in models such as email notifications, data conversion from one format to another, etc.<\/p>\n\n\n\n<p>This core functionality can be handled using services like plain ruby objects,&nbsp; so it can be eliminated from <code><a href=\"https:\/\/www.botreetechnologies.com\/blog\/notable-activerecord-changes-in-rails-6-part-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">ActiveRecord<\/a><\/code>.<\/p>\n\n\n\n<p><strong>What to include?<\/strong><\/p>\n\n\n\n<p><strong>configuration<\/strong> (i.e., relations and validations)<\/p>\n\n\n\n<p><strong>Simple mutation methods<\/strong> to encapsulate updating a handful of attributes and saving them in the database.<\/p>\n\n\n\n<p><strong>Access wrappers<\/strong> to hide internal model information.<\/p>\n\n\n\n<p><strong>Eg:<\/strong> full_name that depicts a combination of <code>first_name<\/code> and <code>last_name<\/code>.<\/p>\n\n\n\n<p><strong>Sophisticated queries<\/strong>, you should never use <code>where<\/code> the method or any other query building outside the model class.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #5: Blocking on calls to external services<\/h3>\n\n\n\n<p>3rd party providers of Ruby on Rails applications usually make it very easy to integrate APIs, but sometimes may run slow.<\/p>\n\n\n\n<p>So, to avoid blocking on calls, rather than calling services from your Rails application, you should move some part of code to a background job.<\/p>\n\n\n\n<p>For queuing these API services, you should use <em><strong>Delayed Job<\/strong><\/em>, <strong><em>Sidekiq<\/em><\/strong>&nbsp;etc.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #6: Improper Predicate Method Usage<\/h3>\n\n\n\n<p>A predicate method is any method that syntactically ends with a <em><strong>question mark (?)<\/strong><\/em> should return a true value.<\/p>\n\n\n\n<p>When you are creating a predicate method, it&#8217;s important to know its main purpose.<\/p>\n\n\n\n<p>It should be named for what it performs, it should not contradict the name with the action it performs.<\/p>\n\n\n\n<p>For eg, to check whether the user has books available or not, you should define the predicate method in the user model as shown below:<\/p>\n\n\n\n<p><code>def books_available?<\/code><br><code>&nbsp; &nbsp; self.books.present?<\/code><br><code>end<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #7: Not using memoization:<\/h3>\n\n\n\n<p>Memoization is a technique used to speed up your accessor during Ruby on Rails development. It caches the results of methods that do time-consuming work or variables initializing.<\/p>\n\n\n\n<p>Uses <code> &nbsp;||= <\/code>&nbsp;operator to initialize the cache variable.<\/p>\n\n\n\n<p>It can be used to initialize the variables from some value in parameters, or the associated records.<\/p>\n\n\n\n<p>Eg:<\/p>\n\n\n\n<p><code>def google_calendar_event<\/code><br><code>&nbsp; &nbsp;@event ||= GoogleCalendarEvent.find_by(event_id: params[:event_id])<\/code><br><code>end<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mistake #8: Follow Proper Naming Convention In Ruby on Rails projects<\/h3>\n\n\n\n<p>While developing, keep the following points in your mind:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Table names should be in a plural format to map your model and table automatically.<\/li>\n\n\n\n<li>The model name should be in singular.<\/li>\n\n\n\n<li>Also, make sure you are not using reserved names for your class. For example, you can\u2019t use \u201c<strong>Class<\/strong>\u201d but you can use \u201c<strong>Klass<\/strong>\u201d.<\/li>\n\n\n\n<li>Controller name should be plural format and if you want to use multiple words then go with <strong>Camelcase.<\/strong><\/li>\n\n\n\n<li>Follow the default restful routes to reduce the complexity.<\/li>\n<\/ul>\n\n\n\n<p>Ruby on Rails is a powerful and feature-rich framework for web application development. While Ruby on Rails application may have some limitations, mistakes arise because developers are not paying attention while deployment and debugging.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"2000\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework.png\" alt=\"Ruby on Rails Enterprise app development framework\" class=\"wp-image-16797\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework-120x300.png 120w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework-410x1024.png 410w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework-768x1920.png 768w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2022\/01\/rubyonrails-enterprise-framework-614x1536.png 614w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p>By following the above mistakes, you can build top-notch Ruby on Rails applications. At BoTree, a leading <a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noreferrer noopener\">Ruby on Rails development company<\/a>, we follow the best Ruby practices to eliminate bugs from your application. <\/p>\n\n\n\n<p>Our developers are experienced and have already learned from these mistakes to avoid halting the project. You can <a href=\"https:\/\/www.botreetechnologies.com\/hire-ruby-on-rails-developers\" target=\"_blank\" rel=\"noopener noreferrer\">hire Ruby on Rails developers<\/a> from us for rapid &amp; error-free development.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Consulting is free<\/a>&nbsp;\u2013 let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Ruby on Rails is a powerful web development framework that&#8230;<\/p>\n","protected":false},"author":56,"featured_media":13233,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-9959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>8 Common Ruby on Rails Development Mistakes to avoid - BoTree<\/title>\n<meta name=\"description\" content=\"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them &amp; increase efficiency of your Ruby on Rails project.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"8 Common Ruby on Rails Development Mistakes to avoid - BoTree\" \/>\n<meta property=\"og:description\" content=\"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them &amp; increase efficiency of your Ruby on Rails project.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-22T08:48:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-07T09:16:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hunny Jummani\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hunny Jummani\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\"},\"author\":{\"name\":\"Hunny Jummani\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\"},\"headline\":\"8 Common Ruby on Rails Development Mistakes to avoid\",\"datePublished\":\"2020-04-22T08:48:41+00:00\",\"dateModified\":\"2023-04-07T09:16:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\"},\"wordCount\":883,\"commentCount\":10,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\",\"name\":\"8 Common Ruby on Rails Development Mistakes to avoid - BoTree\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg\",\"datePublished\":\"2020-04-22T08:48:41+00:00\",\"dateModified\":\"2023-04-07T09:16:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\"},\"description\":\"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them & increase efficiency of your Ruby on Rails project.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"Ruby on Rails Programming Mistakes to avoid\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"8 Common Ruby on Rails Development Mistakes to avoid\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\",\"name\":\"Hunny Jummani\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"caption\":\"Hunny Jummani\"},\"description\":\"I am a Ruby On Rails Developer. I love JavaScript, logical problem solving in Ruby and exploration of new things. Apart from coding, I also like to travel, listen music and play guitar.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"8 Common Ruby on Rails Development Mistakes to avoid - BoTree","description":"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them & increase efficiency of your Ruby on Rails project.","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:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/","og_locale":"en_US","og_type":"article","og_title":"8 Common Ruby on Rails Development Mistakes to avoid - BoTree","og_description":"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them & increase efficiency of your Ruby on Rails project.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2020-04-22T08:48:41+00:00","article_modified_time":"2023-04-07T09:16:18+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg","type":"image\/jpeg"}],"author":"Hunny Jummani","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Hunny Jummani","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/"},"author":{"name":"Hunny Jummani","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e"},"headline":"8 Common Ruby on Rails Development Mistakes to avoid","datePublished":"2020-04-22T08:48:41+00:00","dateModified":"2023-04-07T09:16:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/"},"wordCount":883,"commentCount":10,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/","url":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/","name":"8 Common Ruby on Rails Development Mistakes to avoid - BoTree","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg","datePublished":"2020-04-22T08:48:41+00:00","dateModified":"2023-04-07T09:16:18+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e"},"description":"This 8 common Ruby on Rails development mistakes can put your project to a halt. Here\u2019s how to avoid them & increase efficiency of your Ruby on Rails project.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/04\/8-common-ruby-on-rails-development-mistakes-to-avoid.jpg","width":1920,"height":1280,"caption":"Ruby on Rails Programming Mistakes to avoid"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/common-ruby-on-rails-development-mistakes-to-avoid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"8 Common Ruby on Rails Development Mistakes to avoid"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e","name":"Hunny Jummani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","caption":"Hunny Jummani"},"description":"I am a Ruby On Rails Developer. I love JavaScript, logical problem solving in Ruby and exploration of new things. Apart from coding, I also like to travel, listen music and play guitar."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=9959"}],"version-history":[{"count":5,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9959\/revisions"}],"predecessor-version":[{"id":19170,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9959\/revisions\/19170"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13233"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=9959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=9959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=9959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}