{"id":7890,"date":"2019-09-26T12:18:25","date_gmt":"2019-09-26T12:18:25","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=7890"},"modified":"2021-01-08T11:36:48","modified_gmt":"2021-01-08T06:06:48","slug":"how-to-customize-taxon-images-in-spree-3-7","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/","title":{"rendered":"How to customize Taxon Images in Spree 3.7?"},"content":{"rendered":"\n<p>Recently we have migrated from Spree 2.3 to Spree 3.7. We faced many challenges as a lot has been changed in v3.7 compared to v2.3. Below are a few notable changes<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The new style of extending or customizing the model using <code>module.prepend<\/code>. Earlier it was being done using <code>class_eval<\/code><\/li><li>Added support of Active Storage. However, Paperclip support is still available but will be deprecated in the next version (Spree 4.0).<\/li><li>Factory Girl became Factory Bot<\/li><li>Removed image specific columns from <code>Taxons<\/code> table<\/li><\/ol>\n\n\n\n<p>We are going to discuss point 4, how to customize the icon or other images for the Taxons.<\/p>\n\n\n\n<p>By default, spree provides an icon for the taxon. Our app needed a page header image for the taxon. If a user visits the specific taxon, let&#8217;s say clothing, then he should see the clothing image in the header. So in our case, there were two attachments for the taxon.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Icon<\/li><li>Header Image<\/li><\/ol>\n\n\n\n<p>In Spree 2.3, there were columns of icons in the Taxon table itself. And the declaration was present in the model like below:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"127\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/default-taxon.png\" alt=\"Default Taxon\" class=\"wp-image-14862\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/default-taxon.png 616w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/default-taxon-300x62.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/figure><\/div>\n\n\n\n<p>Now we need a header image for the taxons as well. So here is the code snippet in taxon_decorator.rb to support the header image.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"931\" height=\"107\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-1.png\" alt=\"Spree Header Image\" class=\"wp-image-14863\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-1.png 931w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-1-300x34.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-1-768x88.png 768w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/figure><\/div>\n\n\n\n<p>Below are the columns for the header image which paperclip uses to manage the attachments.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"79\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-2.png\" alt=\"Spree Header \" class=\"wp-image-14864\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-2.png 331w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/header-image-2-300x72.png 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/figure><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Read Also: <a href=\"https:\/\/www.botreetechnologies.com\/blog\/spree-3-6-with-rails-5-2-ruby-2-5-activestorage-and-multistore-support\" target=\"_blank\" rel=\"noopener noreferrer\">Spree 3.6 with Rails 5.2, Ruby 2.5, Active Storage and Multi Store Support!<\/a><\/p><\/blockquote>\n\n\n\n<p>Now, let\u2019s see how it has been changed in Spree 3.7!<\/p>\n\n\n\n<p>Spree 3.7 started using <strong>Single Table Inheritance(STI)<\/strong> and <strong>Polymorphism <\/strong>for various models. Storing images for the different models is the classic case for STI associations. For each attachment, there is a separate model file which would be inherited from <code>Spree::Asset<\/code> class.<\/p>\n\n\n\n<p><code>Spree::Assets<\/code> is a table which stores all attachments with column <code>type<\/code> and two more columns <code>viewable_type<\/code> and <code>viewable_id<\/code><\/p>\n\n\n\n<p>Here, <code>type column<\/code> represents STI and <code>viewable_type, viewable_id<\/code>&nbsp; &nbsp;represents the polymorphic association.<\/p>\n\n\n\n<p>We have made below changes to add a header image to the taxon.<\/p>\n\n\n\n<p>Add below relationship in taxon_decorator.rb<\/p>\n\n\n\n<p><code>has_one :header_image, as: :viewable, dependent: :destroy, class_name: 'Spree::TaxonHeaderImage'<\/code><\/p>\n\n\n\n<p>Now, create <code>taxon_header_image.rb<\/code> in models\/spree directory and use below code<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/prsanjay\/ea33f9cc1e67f3e74998f00a07ae2b8f.js\"><\/script><\/p>\n\n\n\n<p>At this point, you may have questions about how to add styles for this attachment!!<\/p>\n\n\n\n<p>For this create <strong>paperclip.rb <\/strong>in <code>models\/spree\/taxon_header_image\/configuration<\/code> directory and add below code<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/prsanjay\/205a33ece291d98ecf249470a42ebd98.js\"><\/script><\/p>\n\n\n\n<p>If you check the entries in <code>Spree::Assets<\/code>&nbsp;the table you would see that, <code>type<\/code> is <code>Spree::TaxonHeaderImage<\/code> and <code>viewable_type<\/code> is <code>Spree::Taxon<\/code> and <code>viewable_id<\/code> is <code>taxon_id<\/code><\/p>\n\n\n\n<p>That&#8217;s it. This is how Spree 3.7 has decoupled attachments functionality in a modular way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><b>Click here for more<\/b> details&#8230;<\/a><\/h3>\n\n\n\n<p>At<a href=\"https:\/\/www.botreetechnologies.com\/\"> BoTree Technologies<\/a>, we build enterprise applications with our RoR team of 25+ engineers.<\/p>\n\n\n\n<p>We also specialize in Python, RPA, AI, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Recently we have migrated from Spree 2.3 to Spree 3.7&#8230;.<\/p>\n","protected":false},"author":8,"featured_media":12732,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,75,10],"tags":[],"class_list":["post-7890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-spree-commerce","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to customize Taxon Images in Spree 3.7? - BoTree Technologies<\/title>\n<meta name=\"description\" content=\"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.\" \/>\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\/how-to-customize-taxon-images-in-spree-3-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to customize Taxon Images in Spree 3.7? - BoTree Technologies\" \/>\n<meta property=\"og:description\" content=\"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\" \/>\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=\"2019-09-26T12:18:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-08T06:06:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.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=\"Sanjay Prajapati\" \/>\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=\"Sanjay Prajapati\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\"},\"author\":{\"name\":\"Sanjay Prajapati\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/b628623fa9d946d2258f506a476b45e3\"},\"headline\":\"How to customize Taxon Images in Spree 3.7?\",\"datePublished\":\"2019-09-26T12:18:25+00:00\",\"dateModified\":\"2021-01-08T06:06:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\"},\"wordCount\":431,\"commentCount\":12,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Spree Commerce\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\",\"name\":\"How to customize Taxon Images in Spree 3.7? - BoTree Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg\",\"datePublished\":\"2019-09-26T12:18:25+00:00\",\"dateModified\":\"2021-01-08T06:06:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/b628623fa9d946d2258f506a476b45e3\"},\"description\":\"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"customize Taxon Images in Spree 3.7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to customize Taxon Images in Spree 3.7?\"}]},{\"@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\/b628623fa9d946d2258f506a476b45e3\",\"name\":\"Sanjay Prajapati\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png\",\"caption\":\"Sanjay Prajapati\"},\"description\":\"Sanjay is a Ruby on Rails Engineer, who also works with Javascript and React. He has strong experience in working with domains like eCommerce, Health and Insurance. In his spare time, he enjoys reading and writing blogs and he is excited to help add the company to his list of successes.\u200b\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to customize Taxon Images in Spree 3.7? - BoTree Technologies","description":"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.","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\/how-to-customize-taxon-images-in-spree-3-7\/","og_locale":"en_US","og_type":"article","og_title":"How to customize Taxon Images in Spree 3.7? - BoTree Technologies","og_description":"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2019-09-26T12:18:25+00:00","article_modified_time":"2021-01-08T06:06:48+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg","type":"image\/jpeg"}],"author":"Sanjay Prajapati","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Sanjay Prajapati","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/"},"author":{"name":"Sanjay Prajapati","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/b628623fa9d946d2258f506a476b45e3"},"headline":"How to customize Taxon Images in Spree 3.7?","datePublished":"2019-09-26T12:18:25+00:00","dateModified":"2021-01-08T06:06:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/"},"wordCount":431,"commentCount":12,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg","articleSection":["Ruby on Rails","Spree Commerce","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/","url":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/","name":"How to customize Taxon Images in Spree 3.7? - BoTree Technologies","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg","datePublished":"2019-09-26T12:18:25+00:00","dateModified":"2021-01-08T06:06:48+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/b628623fa9d946d2258f506a476b45e3"},"description":"Wondering how to customize the icon or other images for the Taxons in Spree 3.7? Here\u2019s a simple guide to help you understand that.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/09\/taxon-images-in-spree-3.7.jpg","width":1920,"height":1280,"caption":"customize Taxon Images in Spree 3.7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/how-to-customize-taxon-images-in-spree-3-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to customize Taxon Images in Spree 3.7?"}]},{"@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\/b628623fa9d946d2258f506a476b45e3","name":"Sanjay Prajapati","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/sanjay-prajapati-150x150.png","caption":"Sanjay Prajapati"},"description":"Sanjay is a Ruby on Rails Engineer, who also works with Javascript and React. He has strong experience in working with domains like eCommerce, Health and Insurance. In his spare time, he enjoys reading and writing blogs and he is excited to help add the company to his list of successes.\u200b"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/7890","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=7890"}],"version-history":[{"count":5,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/7890\/revisions"}],"predecessor-version":[{"id":14865,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/7890\/revisions\/14865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/12732"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=7890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=7890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=7890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}