{"id":3530,"date":"2020-04-24T08:53:31","date_gmt":"2020-04-24T08:53:31","guid":{"rendered":"http:\/\/the-codest.localhost\/blog\/rails-and-other-means-of-transport\/"},"modified":"2026-04-24T11:27:38","modified_gmt":"2026-04-24T11:27:38","slug":"jarnbrautir-og-onnur-samgongutaeki","status":"publish","type":"post","link":"https:\/\/thecodest.co\/is\/blog\/rails-and-other-means-of-transport\/","title":{"rendered":"Lestar og \u00f6nnur samg\u00f6ngut\u00e6ki"},"content":{"rendered":"<h2>Vins\u00e6l Rails- og Rails-way-vandam\u00e1l<\/h2>\n<h3>Vandam\u00e1l sem nefnd eru \u00ed: <a href=\"https:\/\/web.archive.org\/web\/20210306055107\/https:\/\/upgrow.shopify.io\/code-smells-in-rails-apps\" rel=\"nofollow\">grein um Shopify<\/a><\/h3>\n<ul>\n<li>lei\u00f0s\u00f6gn,<\/li>\n<li>fyrirframger\u00f0ir, <\/li>\n<li>st\u00f3rar a\u00f0ger\u00f0ir \u00ed st\u00fdrit\u00e6kjum, <\/li>\n<li>einkaa\u00f0fer\u00f0ir \u00ed st\u00fdrit\u00e6kjum, <\/li>\n<li>mixins notu\u00f0 einu sinni, <\/li>\n<li>R\u00f6kfr\u00e6\u00f0i \u00ed \u00fats\u00fdnum, <\/li>\n<li>ActiveRecord-kallbakkar, <\/li>\n<li>F\u00e9l\u00f6g, <\/li>\n<li>\u201cfeitt l\u00edkan\u201d<\/li>\n<\/ul>\n<h3>Vi\u00f0b\u00f3tarvandam\u00e1l<\/h3>\n<ul>\n<li>Gildiskannanir \u00ed Active Record, <\/li>\n<li>\u00f3beint fremur en beint, <\/li>\n<li>misnotkun DRY, <\/li>\n<li>umbo\u00f0 til samtaka, <\/li>\n<li>\u00dej\u00f3nustuhringingar \u00ed m\u00f3delum.<\/li>\n<\/ul>\n<h2>Valm\u00f6guleikar vi\u00f0 Rails<\/h2>\n<p>\u00deegar kemur a\u00f0 <strong><a href=\"https:\/\/thecodest.co\/is\/blog\/ways-to-increase-your-rails-performance\/\">Relsar<\/a><\/strong> \u00ed <strong><a href=\"https:\/\/thecodest.co\/is\/blog\/hire-ror-developer\/\">R\u00fab\u00edn<\/a> <\/strong>heims, h\u00f6fum vi\u00f0 nokkra valkosti. \u00d6nnur rammas\u00f6fn sem byggja \u00e1 Rack eru me\u00f0al annars: \u2013 <b>Sinatra<\/b>, \u2013 <strong>R\u00f3\u00f0a<\/strong>, \u2013<b> Bl\u00f3masko\u00f0un<\/b>.<\/p>\n<h3>Hva\u00f0 gerir \u00feau einst\u00f6k?<\/h3>\n<p>B\u00e6\u00f0i Sinatra og Roda bj\u00f3\u00f0a <a href=\"https:\/\/thecodest.co\/is\/blog\/why-us-companies-are-opting-for-polish-developers\/\">okkur<\/a> blokkar\u00e1sunarst\u00edl, en \u00ed Sinatra er lei\u00f0akerfi\u00f0 listi og \u00ed Roda \u2013 tr\u00e9. \u00cd b\u00e1\u00f0um rammasetningunum \u00feurfum vi\u00f0 a\u00f0 sj\u00e1 sj\u00e1lf um innlei\u00f0ingu m\u00f3dellagsins. \u00cd tilviki Roda er gott a\u00f0 nota Sequel-gemi\u00f0. <\/p>\n<p>Roda er innbl\u00e1sin af Sinatra. H\u00fan er mj\u00f6g l\u00e9tt \u00ed sj\u00e1lfu s\u00e9r, en h\u00fan hefur marga vi\u00f0b\u00e6tur. <\/p>\n<p>Hanami er n\u00e6stur vi\u00f0<strong> Relsar<\/strong> \u00deegar kemur a\u00f0 \u00feeim svi\u00f0um sem ramminn n\u00e6r til. Mikilv\u00e6gustu munirnir hva\u00f0 var\u00f0ar notkun eru: <\/p>\n<ul>\n<li>st\u00fdrit\u00e6ki \u00ed <strong>Relsar<\/strong> gegn a\u00f0ger\u00f0um \u00ed Hanami,<\/li>\n<li>s\u00e9rh\u00e6f\u00f0ir flokkar \/ hlutir sem me\u00f0h\u00f6ndla tiltekna HTTP-bei\u00f0ni, ekki einn st\u00fdringarhluti fyrir a\u00f0ger\u00f0ir sem tengjast tilteknum au\u00f0lindum (l\u00edkani),<\/li>\n<li>L\u00edkanlag byggt \u00e1 gagnageymslum og einingum, sem a\u00f0skilur varanleika fr\u00e1 restinni af forritinu, ekki active record-mynstri\u00f0. <\/li>\n<\/ul>\n<p>Hanami-\u00fatg\u00e1fa 1 takmarkar verulega notkun ROM-\u00fatg\u00e1funnar sem h\u00fan byggir \u00e1 (\u00fatg\u00e1fa 3, en h\u00fan er n\u00fa \u00feegar komin \u00ed 5), svo ekki er \u00feess vir\u00f0i a\u00f0 nota \u00fear framlag\u00f0a m\u00f3del-lagi\u00f0. Hins vegar, \u00fear sem um mj\u00f6g opi\u00f0 rammaskipulag er a\u00f0 r\u00e6\u00f0a, er nokku\u00f0 au\u00f0velt a\u00f0 innlei\u00f0a \u00fear sitt eigi\u00f0 m\u00f3del. <\/p>\n<h2>Vi\u00f0b\u00e6tur fyrir Rails<\/h2>\n<p>\u00dea\u00f0 borgar sig a\u00f0 nota lausnir sem ekki eru h\u00e1\u00f0ar <strong>Relsar<\/strong> og eru n\u00e6r \u201chreinum\u201d <strong>R\u00fab\u00edn<\/strong>. Verkf\u00e6rin sem nefnd voru \u00ed kynningunni eru: <\/p>\n<ul>\n<li>Eftirfylgni (ORM, valkostur vi\u00f0 ActiveRecord),<\/li>\n<li>ROM (hlutak\u00f3\u00f0ari), <\/li>\n<li>dry-rb-b\u00f3kas\u00f6fn: dry-validations, dry-system og dry-monads.<\/li>\n<\/ul>\n<p>Eftirleikur er au\u00f0velt a\u00f0 setja \u00ed a <a href=\"https:\/\/thecodest.co\/is\/dictionary\/why-do-projects-fail\/\">verkefni<\/a>, \u00fea\u00f0 byggir \u00e1 vi\u00f0b\u00f3tum og innlei\u00f0ir einnig active record-mynstri\u00f0. \u00dea\u00f0 hefur betri stu\u00f0ning vi\u00f0 l\u00e1ggjafnar fyrirspurnir en <strong>Relsar<\/strong>\u2018VirkurP\u00f6ntun. <\/p>\n<p>ROM notar Sequel, en hugmyndin er a\u00f0 \u00fe\u00fd\u00f0a \u00e1 milli skr\u00e1na \u00ed gagnagrunnunum og<strong> R\u00fab\u00edn<\/strong> hlutir. \u00dea\u00f0 mi\u00f0ar a\u00f0 hra\u00f0a og <a href=\"https:\/\/thecodest.co\/is\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">g\u00f6gn<\/a> Umbreyting. Skilgreinir sk\u00fdrt lag varanlegrar geymslu \u00ed forritinu. <\/p>\n<p>Dry-rb-b\u00f3kas\u00f6fn eru mj\u00f6g gagnleg verkf\u00e6ri: <\/p>\n<ul>\n<li>dry-validation er mj\u00f6g au\u00f0velt \u00ed notkun \u00ed <a href=\"https:\/\/thecodest.co\/is\/blog\/compare-staff-augmentation-firms-that-excel-in-api-team-staffing-for-financial-technology-projects\/\">forritaskil<\/a> verkefni og gerir kleift a\u00f0 hafa mikla stj\u00f3rn \u00e1 r\u00e9ttm\u00e6ti innkomandi gagna, <\/li>\n<li>dry-kerfi\u00f0 krefst sm\u00e1 \u00e6fingar og \u00feolinm\u00e6\u00f0i hj\u00e1 forriturum til a\u00f0 skilja \u00fea\u00f0, en \u00fea\u00f0 gerir kleift a\u00f0 stj\u00f3rna h\u00e1\u00f0unum \u00ed forritinu \u00e1 mj\u00f6g sveigjanlegan h\u00e1tt og hla\u00f0a verkefniseiningum \u00ed einangrun; ef vi\u00f0 viljum nota \u00feessa b\u00f3kasafn \u00ed <strong>Relsar<\/strong>, vi\u00f0 getum nota\u00f0 dry-rails, <\/li>\n<li>dry-monads er fl\u00f3ki\u00f0 hugtak \u00ed kenningu, en \u00ed framkv\u00e6md er \u00fea\u00f0 au\u00f0veldara a\u00f0 skilja; result-monads geta veri\u00f0 fr\u00e1b\u00e6r lei\u00f0 til a\u00f0 auka l\u00e6sileika <a href=\"https:\/\/thecodest.co\/is\/dictionary\/what-is-code-refactoring\/\">k\u00f3\u00f0i<\/a> me\u00f0 \u00fev\u00ed a\u00f0 \u00edhuga tilteknar a\u00f0st\u00e6\u00f0ur \u00ed sta\u00f0 \u00feess a\u00f0 nota skilyrtar if-setningar. <\/li>\n<\/ul>\n<h2>\u00c1lyktanir<\/h2>\n<p>\u00dea\u00f0 er best a\u00f0 nota <strong>Relsar<\/strong> svo a\u00f0 \u00fe\u00fa \u00feurfir ekki a\u00f0 nota<strong> Relsar<\/strong> einn dag. <\/p>\n<h2>Heimildir<\/h2>\n<p><strong>Greinir<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/web.archive.org\/web\/20210306055107\/https:\/\/upgrow.shopify.io\/code-smells-in-rails-apps\">K\u00f3\u00f0alykt \u00ed Rails-forritum (eftir Shopify)<\/a><\/li>\n<li><a href=\"https:\/\/guides.hanamirb.org\/v1.3\/repositories\/overview\/\">Hanami: geymslur<\/a><\/li>\n<li><a href=\"https:\/\/guides.rubyonrails.org\">Lei\u00f0beiningar fyrir Rails<\/a><\/li>\n<\/ul>\n<p><strong>Rammaskipul\u00f6g<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/sinatrarb.com\">Sinatra<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/jeremyevans\/roda\">R\u00f3\u00f0a<\/a><\/li>\n<li><a href=\"https:\/\/hanamirb.org\">Bl\u00f3masko\u00f0un<\/a><\/li>\n<\/ul>\n<p><strong>Gersemar<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/jeremyevans\/sequel\">Eftirleikur<\/a><\/li>\n<li><a href=\"https:\/\/rom-rb.org\">R\u00f3m<\/a><\/li>\n<li><a href=\"https:\/\/dry-rb.org\">B\u00f3kasafn dry-rb<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ruby-json-schema\/json-schema\">Ruby JSON-skema gildapr\u00f3fari (json-schema)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ddnexus\/pagy\">Pagy<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/jeremyevans\/rodauth\">Rodauth<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janko\/rodauth-rails\">rodauth-rails<\/a><\/li>\n<\/ul>\n<p><strong>T\u00e6knil\u00fdsingar<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/rack\/rack\/blob\/master\/SPEC.rdoc#label-Rack+applications\">St\u00f6kk<\/a><\/li>\n<li><a href=\"https:\/\/json-schema.org\/specification.html\">JSON-skema<\/a><\/li>\n<\/ul>\n<p><article-inline-code-review><\/article-inline-code-review><\/p>\n<p><strong>Lesa meira:<\/strong><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/ruby-on-jets-ruby-aws-lambda\/\">Hva\u00f0 er Ruby on Jets og hvernig \u00e1 a\u00f0 b\u00faa til forrit me\u00f0 \u00fev\u00ed?<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/vuelendar-a-new-codests-project-based-on-vue-js\/\">Vuelendar. N\u00fdtt verkefni Codest byggt \u00e1 Vue.js<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/codests-weekly-report-of-best-tech-articles-building-software-for-50m-concurrent-sockets-10\/\">Viktorlega sk\u00fdrsla Codest um bestu t\u00e6kni\u00adgreinar. A\u00f0 byggja hugb\u00fana\u00f0 fyrir 50 millj\u00f3nir samt\u00edmis sokka (10)<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Rails er Rack-samh\u00e6ft rammasett sem einbeitir s\u00e9r a\u00f0 hra\u00f0ri \u00fer\u00f3un forrita. \u00dev\u00ed mi\u00f0ur veldur n\u00e1lgunin \u201callt tilb\u00fai\u00f0 \u00far kassanum\u201d og blindri fylgni vi\u00f0 Rails-h\u00e1ttinn \u00fev\u00ed a\u00f0 k\u00f3\u00f0inn \u00ed forritinu missir g\u00e6\u00f0i, b\u00e6\u00f0i hva\u00f0 var\u00f0ar l\u00e6sileika og virkni.<\/p>","protected":false},"author":2,"featured_media":3531,"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-3530","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 Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Rails and Other Means of Transport - 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\/is\/blogg\/jarnbrautir-og-onnur-samgongutaeki\/\" \/>\n<meta property=\"og:locale\" content=\"is_IS\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rails and Other Means of Transport\" \/>\n<meta property=\"og:description\" content=\"Rails is a Rack-compatible framework focused on quick application development. Unfortunately, the &quot;everything out of the box&quot; approach and blind Rails-way behavior often cause the application code to lose quality, both in terms of its reception (readability) and operation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/is\/blogg\/jarnbrautir-og-onnur-samgongutaeki\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-24T08:53:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-24T11:27:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg\" \/>\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\/jpeg\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/\"},\"author\":{\"name\":\"thecodest\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"headline\":\"Rails and Other Means of Transport\",\"datePublished\":\"2020-04-24T08:53:31+00:00\",\"dateModified\":\"2026-04-24T11:27:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/\"},\"wordCount\":577,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/rails.jpg\",\"articleSection\":[\"Software Development\"],\"inLanguage\":\"is\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/\",\"name\":\"Rails and Other Means of Transport - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/rails.jpg\",\"datePublished\":\"2020-04-24T08:53:31+00:00\",\"dateModified\":\"2026-04-24T11:27:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#breadcrumb\"},\"inLanguage\":\"is\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/rails.jpg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/rails.jpg\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/rails-and-other-means-of-transport\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rails and Other Means of Transport\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"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\":\"is\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"width\":144,\"height\":36,\"caption\":\"The Codest\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/pl.linkedin.com\\\/company\\\/codest\",\"https:\\\/\\\/clutch.co\\\/profile\\\/codest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\",\"name\":\"thecodest\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@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\\\/is\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"J\u00e1rnbrautir og \u00f6nnur samg\u00f6ngut\u00e6ki - 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\/is\/blogg\/jarnbrautir-og-onnur-samgongutaeki\/","og_locale":"is_IS","og_type":"article","og_title":"Rails and Other Means of Transport","og_description":"Rails is a Rack-compatible framework focused on quick application development. Unfortunately, the \"everything out of the box\" approach and blind Rails-way behavior often cause the application code to lose quality, both in terms of its reception (readability) and operation.","og_url":"https:\/\/thecodest.co\/is\/blogg\/jarnbrautir-og-onnur-samgongutaeki\/","og_site_name":"The Codest","article_published_time":"2020-04-24T08:53:31+00:00","article_modified_time":"2026-04-24T11:27:38+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg","type":"image\/jpeg"}],"author":"thecodest","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thecodest","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#article","isPartOf":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/"},"author":{"name":"thecodest","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"headline":"Rails and Other Means of Transport","datePublished":"2020-04-24T08:53:31+00:00","dateModified":"2026-04-24T11:27:38+00:00","mainEntityOfPage":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/"},"wordCount":577,"commentCount":0,"publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"image":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg","articleSection":["Software Development"],"inLanguage":"is","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/","url":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/","name":"J\u00e1rnbrautir og \u00f6nnur samg\u00f6ngut\u00e6ki - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#primaryimage"},"image":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg","datePublished":"2020-04-24T08:53:31+00:00","dateModified":"2026-04-24T11:27:38+00:00","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#breadcrumb"},"inLanguage":"is","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/"]}]},{"@type":"ImageObject","inLanguage":"is","@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#primaryimage","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/rails.jpg","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/blog\/rails-and-other-means-of-transport\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"Rails and Other Means of Transport"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"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":"is"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"is","@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","width":144,"height":36,"caption":"The Codest"},"image":{"@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/pl.linkedin.com\/company\/codest","https:\/\/clutch.co\/profile\/codest"]},{"@type":"Person","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76","name":"thecodest","image":{"@type":"ImageObject","inLanguage":"is","@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\/is\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/comments?post=3530"}],"version-history":[{"count":3,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3530\/revisions"}],"predecessor-version":[{"id":7965,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3530\/revisions\/7965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/media\/3531"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/media?parent=3530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/categories?post=3530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/tags?post=3530"}],"curies":[{"name":"vp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}