Learn Ruby on Rails: Learning Ruby on Rails Series, Part 1

You’ve probably already heard of it Ruby on Rails which we talk a lot about at the moment

developers abroad and in the country as it has several great features for building websites. Many startups and large companies use Ruby on Rails (RoR) to build internal websites and develop their product services.

Below we summarize some interesting things about Ruby on Rails that might help you learn about RoR:

Daftar Isi

Ruby is a programming language

Ruby is an object-oriented programming language created by Yukihiro Matsumoto (Matz) in 2000. Ruby can be used on various Linux, MacO and Windows operating systems, developed as open source. Everyone can use Ruby freely freeand also free to duplicate, distribute and even make changes.

Why choose the Ruby programming language?

Many developers choose Ruby for its beautiful and simple syntax. Because when we have built a system with thousands of lines of coding, of course at that time we will be reading more than typing and of course a neat and beautiful syntax will be very useful at that time.

Ruby has unique featuresTechnically, here’s a quote from Matz:

“Everything you manipulate is an object, and the results of those manipulations are themselves objects”

So when you define a variable, the variable will become an object with the type based on the value you provide, for example:

variable_1 = 1

variable_2 = “it’s a chain”

For:

variable_1 will be an object of class Fixed

variable_2 will be an object of class Chain

Here are some examples of Ruby code:

Create an object from the Car class


Poster 5x “Hello Indonesia”

5.times TO DO puts “Hello Indonesia” END

You can learn more about Ruby here:

Rails is a web framework

Rails is a web framework created with the Ruby programming language, first developed by David Heinemeier Hansson in 2003. Rails is also open source but with a license WITH.

Rails uses the concept of MVC, which stands for Model View Controller, making it easier for programmers to manage codes. Please learn more about MVC architecture at

So why are so many programmers using Ruby on Rails these days?

Here are the main reasons in our opinion:

  1. Designed to make configuration easier for programmers because Ruby on Rails uses the principle of “Convention Over Configuration”. With this principle, programmers do not need to bother setting up applications such as connecting to a database, as there is a mechanism provided and it is quite simple as one only needs to fill in the name of the type of database server used (mysql/oracle/sql server/postgresql/etc.), set the database name, username, password and host.
  2. Use the “DRY (Don’t Repeat Yourself)” principle, the essence of which is efficiency in code management.
  3. Has a large community, with 4855++ official contributors and hundreds of thousands of gems/plugins created. Gems/Plugins can be thought of as “external libraries” that can be included in applications. With this large community, programmers have many solution choices when faced with problems. Then, with so many gems/plugins, programmers can save even more development time because they don’t always need to create applications from scratch, but can use these gems/plugins as needed.
  4. It has been integrated with an ORM library called ActiveRecord, which makes querying the database easier. For example, we have a table users and user models, then to display all the data from the users table simply do User.all
  5. Has a simple but elegant syntax, for example:
    Showing time a year ago:

    1.year ago

    Shows the time in 2 days:

    2.days.from_now

That’s all for the introduction to Ruby on Rails learning series part 1, next we will discuss

Happy coding!

PakarPBN

A Private Blog Network (PBN) is a collection of websites that are controlled by a single individual or organization and used primarily to build backlinks to a “money site” in order to influence its ranking in search engines such as Google. The core idea behind a PBN is based on the importance of backlinks in Google’s ranking algorithm. Since Google views backlinks as signals of authority and trust, some website owners attempt to artificially create these signals through a controlled network of sites.

In a typical PBN setup, the owner acquires expired or aged domains that already have existing authority, backlinks, and history. These domains are rebuilt with new content and hosted separately, often using different IP addresses, hosting providers, themes, and ownership details to make them appear unrelated. Within the content published on these sites, links are strategically placed that point to the main website the owner wants to rank higher. By doing this, the owner attempts to pass link equity (also known as “link juice”) from the PBN sites to the target website.

The purpose of a PBN is to give the impression that the target website is naturally earning links from multiple independent sources. If done effectively, this can temporarily improve keyword rankings, increase organic visibility, and drive more traffic from search results.

Jasa Backlink

Download Anime Batch