Rails uses the Ruby programming language, which focuses on simplicity and productivity. The creator of Ruby, Matz, designed it to have an elegant syntax that is natural to read and easy to write. Creating a loop that counts to 5 is as easy as:
There are many online resources for both languages, and both are regularly ranked within the top ten most commonly referenced languages on Stack Overflow. New Rails programmers are able to tread a well worn path using resources like the Rails Guides, Mike Hartl’s Ruby on Rails Tutorial and Ryan Bates’ RailsCasts. (At Bloc, we strongly recommend Mike Hartl’s Ruby on Rails Tutorial for beginners.)
In software development, best practices are a set of informal rules that improve the quality of software. For beginners, following best practices makes learning how to code proficiently much easier. Rails shines in its use of best practices. Its strongly opinionated nature forces developers to use it in a commonly accepted way.
An example of how Rails’ opinionated nature leads to better code quality is strong parameters. Strong parameters require developers to make a conscious choice about which attributes to allow for mass updating and prevents accidentally exposing that which shouldn’t be exposed.
According to an analysis by Indeed of the relative growth of web development frameworks, demand for Ruby on Rails developers is nearly five times the demand for Python, and nearly 10 times the demand for PHP.
According to PayScale Ruby on Rails developer jobs pay an average of $69,606 nationally, and as high as $105,000 in some markets.