#Programming (Програмування)
164 posts in category «Programming (Програмування)»
Notes on programming in Ukrainian: coding languages, algorithms, the latest technologies and other useful information for developers.
[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…
[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…
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…
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 …
[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…
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…
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…
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…
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…
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…