Development Polymorphic Model Resource Finder in Ruby On Rails When having a polymorphic association in Rails model, you want to: generate URLfind the parent model in the controllerSee below our model structure. Let's answer those questions the Rails way. class Company < ActiveRecord::Base has_many :images end class Product < ActiveRecord::Base
Development Publishable Enum in Ruby on Rails with PostgreSQL There are many options to add publishing ability to your Rails model. The good reference is: https://naturaily.com/blog/ruby-on-rails-enum Let's assume we have an Article model and we
Business 9 Great questions to ask during the hiring interview Asking the right questions during the interview provides not only useful information about your candidate but also makes a positive impact on your company hiring process. Sharing a list of
Productivity The Practical Guide to Gmail Productivity Email is a very time-consuming communication channel that we all have to use. It is easy to feel overwhelmed with a constant need for answering emails. “Your Email inbox is
Miscellaneous A list of SuperTools to boost your productivity A snapshot of my constantly updating list of awesome products and hacks DesignFigma Design, prototype, and collaborate in one tools. Figma is OS agnostic. It has all the good things
Development The Ultimate Guide to Dokku and Ruby On Rails 5 TL:DR; The Heroku Hobby plan will be more efficient in terms of your personal ROI. I like the simplicity of Deploying an application to Heroku. Recently I checked the
Miscellaneous How to source Free images for your blog, without wasting your time? This is the short post about sourcing images and photos for your blog post, that will save you time while sourcing free images. I recommend a couple of websites that
Development 5 must have actions to make your emails more trusted TL:DR; Those are must have steps before sending any email from a new domain or new email service. Technical stuff ahead. Prerequisites: In order to make changes to your
Business 7 web tools for Perfect Naming for your Startup or Products You probably know that Name matters, a Lot. If you aren’t there yet, read this great essay by James Currier Your Company Name Matters, a Lot You shouldn’t