// All posts

← home
  1. [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…

  2. 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…

  3. 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 …

  4. [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…

  5. 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…

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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…

  11. 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 …

  12. 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 …

  13. 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…

  14. 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…

  15. 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…

  16. 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…

  17. What is .gitignore? What is it for and how to use it

    .gitignore is a file used in the Git version control system to specify files and directories that should be ignored by Git. This …

  18. What does a dot at the beginning of a file (.gitignore, .DS_Store, .bashrc, etc.) mean?

    A dot at the beginning of a file or folder name in Unix-like operating systems, such as macOS or Linux, indicates that this file …

  19. How does the map method work in Ruby? An overview of the method's operation with examples.

    The map method is one of the most commonly used methods in Ruby, used for processing collections. It allows you to apply a block …

  20. What does .map(&:name) mean in Ruby?

    In Ruby, the map(&:name) construct is a shorthand for applying a method to each element of a collection. This form is used to…