// All posts

← home
  1. What is Memoization (examples in Ruby and Ruby on Rails)?

    Memoization — is an optimization technique that involves caching the results of function executions to avoid redundant computatio…

  2. What is a Promise in JavaScript and how to quickly understand its essence?

    Imagine that you ordered coffee at a café. The barista takes the order, issues a receipt, and says, “Please wait a moment.” You d…

  3. Fix the error [DEPRECATION] #adapters is deprecated. Use #profiles instead. (Codecov / docile)

    Recently encountered an error in Codecov, which was actually a false alert. It only appeared on the Codecov side and caused a CI …

  4. [Fix] Heroku / SearchBox addon - indexing error "The client is unable to verify that the server is Elasticsearch"

    When configuring the SearchBox search add-on on Heroku, an error occurred while starting the indexing from the console. Loading p…

  5. [Fix] No such file or directory @ rb_sysopen - tmp/pids/server.pid

    Sometimes it happens that the tmp/pids folder gets lost on the local machine. It is in gitignore for obvious reasons. As a result…

  6. What is the difference between spec_helper.rb and rails_helper.rb in RSpec?

    If you are developing an application using Ruby on Rails, you are probably already familiar with testing using RSpec. But every t…

  7. What is PORO in Ruby?

    In Ruby, the term PORO (Plain Old Ruby Object) is often mentioned, but what is it and why is it important? PORO: in simple terms …

  8. [Fix] Factory not registered: "user" (KeyError) (FactoryBot / Rails 7)

    When setting up tests in a new project with several models - User, Post, and so on. All factories registered normally, except for…

  9. Rounding decimal numbers: mathematical rules, JavaScript, and Ruby

    Rounding is an important operation when working with decimal numbers, as it allows values to be presented in a more convenient fo…

  10. What is Convention over Configuration (in the context of RoR and beyond)?

    Convention over Configuration (CoC) — is a principle that states that a system or framework already has default configurations, a…

  11. What does the ACID principle mean in programming?

    ACID — is a set of properties that guarantee the reliability of transactions in databases. Each transaction is a fundamental buil…

  12. What is an RDBMS (relational database management system)?

    RDBMS (relational database management system / relational database management system) — is software that allows you to create, ma…

  13. What does relational mean (in the context of relational databases)?

    The term "relational" comes from the word "relation", which means "relationship" or "connection". In the context of databases and…

  14. How does an artificial intelligence model work?

    Artificial Intelligence (AI) is becoming an increasingly integral part of our daily lives. From voice assistants to autonomous ve…

  15. What hierarchy does the DOM (Document Object Model) have?

    DOM Hierarchy (Document Object Model) consists of objects that represent the structure of an HTML or XML document in the form of …

  16. What is SCM (Source Control Management)?

    SCM (Source Control Management), also known as Version Control System (VCS), is software or a set of tools that helps developers …

  17. What is a commit in the context of programming and SCM / Git?

    Commit (English "commit") in the context of the Git version control system is a key concept that means saving changes in the loca…

  18. What is a repository?

    A repository is a storage space where all files and the history of changes of a project are kept. In the context of version contr…

  19. What is an idempotent method?

    Idempotent methods are methods or operations in programming that, when executed multiple times with the same input, yield the sam…

  20. How to remove the .DS_Store file from a Git repository?

    In this post, we will discuss how to add .DS_Store to the .gitignore file and remove already added files from our repository. But…