We talk a lot about how to learn Ruby on Rails here at CareerFoundry. Why? Because we believe Ruby on Rails is the best way for beginners to get their hands dirty with code and build their own beautiful, fully-functioning, full-stack websites as quickly as possible.

It’s a hot topic here because we want to know that we’re teaching the most relevant programming language and framework; knowledge and skills that will get our students into jobs they love within six months of graduating, in an industry that’s constantly evolving.

[And don’t forget to check out our video “What is Ruby on Rails?” brought to you by our own developers at CareerFoundry, a bit further down in the post!]

Introduction To Ruby On Rails

We’ve found that Ruby on Rails is not only hugely sought-after in the tech industry, it’s a language and framework that’s also very accessible to people of varying skillsets and experience. Ruby on Rails can be less off-putting than some other coding languages that demand a great deal of theoretical knowledge before you even write your first line of code.

Mark Lassoff, founder of LearnToProgram Media, puts it this way:

“Ruby on Rails – or more accurately the Ruby language and the Rails framework – provides a complete set of application development tools. The benefit is that much of the heavy lifting of web application development is done for you. Ruby programmers tend to be very satisfied with the language, syntax and related suite of tools.”

That’s the great thing about Ruby on Rails: it’s designed to get you building faster, so you can see the results of your hard work much more quickly. Before long you’ll be doing the thing you always wanted to be doing: building great websites. It’s also hugely in demand, and looks to be staying that way for the foreseeable future.

So why are we writing this post? As experts in this area, we get asked the same question from people the world over: “Should I learn Ruby on Rails?” In this post we aim to answer that question, so that by the end you’ll not only know if this is the right course of learning for you, but also if it is, exactly how and where to learn it to launch a successful web development career.

So let’s get started with ‘what exactly is Ruby on Rails?’

What Is Ruby On Rails?

Put simply, Ruby is a programming language, while Ruby on Rails is a framework that is built in Ruby. In developer circles “Ruby on Rails” is usually just referred to as “Rails”.

Ruby on Rails aims to simplify the creation of web applications. It does so by creating default structures for your code, your application’s database and the web pages your application will serve up to the client. Seeing as Ruby on Rails runs on a web server and serves up information to client programs (web browsers), it’s said to be a server-side or back-end application.

David Heinemeier Hanson, the creator of the Ruby on Rails framework, said in an interview on the “This Developer’s Life” podcast that he chose Ruby as the programming language because it was concise, easy to use and supported high-level software engineering patterns he needed, unlike PHP which he had experimented with.

Ikea Shelf Analogy

An easy way to think of the difference between Ruby and Ruby on Rails is to imagine building a bookshelf. Ruby can be represented by somebody chopping down the trees, sawing the wood, carving the shelves and hammering in the nails or screwing in the screws. Ruby on Rails can be represented by an Ikea flat-packed bookshelf. All of the parts have been made, it is simply your job to assemble them correctly.

In the video below our developers at CareerFoundry explain what Ruby on Rails is and why it’s a great language to learn. Check it out now!

 

Ruby On Rails Is An MVC Framework

The MVC, or model-view-controller, framework is an architectural pattern used to create web and desktop applications. Many other web frameworks use this pattern, such as AngularJS (Javascript), Django (Python) and CakePHP (PHP). It structures code by separating the logic of the application into three interconnected parts. The Model represents the logic of the application, the data objects and high-level classes associated with them. The View is essentially the visual representation of the data (the template files, in other words), and the Controller is the piece which connects the other two, responding to user input and gathering data from the Model to render in the View. This pattern cleans up the application logic and makes Ruby on Rails applications very flexible.

The Ruby On Rails Design Philosophy

The Ruby on Rails design philosophy is centered on certain key principles, as outlined in its Rails Doctrine, most notably:

  1. The Don’t Repeat Yourself (DRY) principle

  2. Convention over configuration

The DRY principle is a concept used everywhere in software development. It encourages programmers to reduce repetition in their code base and isolate functionality in small, easier to maintain functions or files. This makes code modular, easier to understand, maintain and debug. Ruby on Rails has taken advantage of one of Ruby’s features, called metaprogramming, in an effort to keep its code DRY.

The “convention over configuration” principle is at the center of how Ruby on Rails evolves over time. The term was introduced by David Heinemeier Hanson in an effort to explain the design philosophy he had chosen when developing Ruby on Rails while working at Basecamp. “Convention over configuration” is a practice utilized by frameworks where they set “sensible defaults” rather than allowing developers complete control, thus freeing programmers from having to make certain decisions, allowing them to concentrate on building the application.

The most common example of “sensible defaults” is the naming conventions established in Ruby on Rails. Models are always named the singular proper noun of the object they represent, and corresponding database tables take the plural form. For example, if you have an object in your model named Product, the table in the database will automatically be named “products”.

This means programmers don’t have to think about such matters and they don’t have to spend a lot of time setting up configuration files just to get off the ground.

However, Ruby on Rails allows programmers to override these conventions where necessary to remain flexible. Programmers are then only responsible for the configurations that differ from Ruby on Rails’ conventions.

 

History Of Ruby On Rails

Ruby on Rails was created by David Heinemeier Hanson, who extracted it from his work at Basecamp. It was open sourced in 2004 and has kept growing and evolving ever since. Its core developer team now counts 12 members along with of hundreds of open source contributors, and as it approaches its fifth version release, Ruby on Rails stands out as a long standing web framework used by thousands of developers the world over.

 

Future Of Ruby On Rails

There have been murmurings on the internet for awhile now claiming that the Ruby on Rails framework is losing its popularity and relevance. Why? Well, there are multiple reasons for this, but the loudest complaints are that it’s not modern enough and that it doesn’t offer the features developers really need in the current climate.

However, things at Ruby on Rails are about to change dramatically. As you may have heard, Ruby on Rails 5 is soon to be launched, addressing some of these concerns. The developer community around it has ensured that this release is not only loaded with new features to keep it up to date and interesting, but also that the framework is ready to evolve and embrace the future of technology.

Ruby on Rails 5 will be the biggest release from the community since June 2013. It comes with an impressive range of features and changes, including; real-time communication with ActionCable, API Mode to use Rails purely for a back end application, and simplified terminal commands.

Whichever way you look at it, things at Ruby on Rails are moving fast with many changes and developments ahead. Due to the very heavy involvement of the Ruby on Rails community and its open source nature, there’s no way that anyone using this programming framework will be left in the dark. For the foreseeable future Ruby on Rails will remain the most exciting and innovative programming framework to know and work in.

And let’s not forget, programmers are extremely happy using Ruby on Rails, as Richard Schneeman of Schneems explains:

“The Ruby language focuses on developer happiness and programmers seem to agree, it’s surged in popularity in the latest TIOBE index. Don’t let its ease of use fool you though, this expressive language powers more than a few of the top 500 websites.”

Why Should I Learn Ruby On Rails?

So now that you know what Ruby on Rails is, you probably have a whole host of other questions. The big one is of course WHY. Why should you learn Ruby on Rails? What are the advantages of learning Ruby on Rails over all the other programming languages out there? Will Ruby on Rails on its own be enough to build a career? Is it future-proof? How much previous experience do you need to learn it? What kind of company can you work in once you have these skills? And is it applicable to all web development jobs, or just a select few?

When you’re just beginning your research into a potential web development career, it can be hard to differentiate between the good advice and the bad, the expert and the amateur. In this section we want to clear things up a bit. Over the course of the next few paragraphs we’ll be outlining why Ruby on Rails is a great first programming language to learn, the kinds of companies you can expect to land a job in with these skills, the stability of the industry and this career choice, and finally highlighting some of the most successful companies out there using Ruby on Rails to create engaging, high-functioning and creative websites.

Ruby On Rails: Your First Steps In Web Development

If you’re new to web development but are keen to learn, it’s hard to know which language to start with. At CareerFoundry we strongly recommend starting with Ruby on Rails, but why is it so good for beginners?

A Buzzing Community

Ruby on Rails has developed a thriving online community of developers, both advanced and not-so-advanced, which is very welcoming to beginners. This means that there is always a group of people to ask for help if you get stuck, or to help you find shortcuts to solutions. For a beginner, this community provides general technical support, as well as reassurance that you’re not alone when you get stuck. This active community of developers are more than willing to help you with any issues that you may encounter. If you’re looking for offline contact, you’ll find a large number of Ruby on Rails meetups and hackathons in cities worldwide.

Mattan Griffel discusses the value of the Ruby on Rails community in his post “10 Reasons Beginners Should Learn Ruby on Rails”. He writes:

“On top of being a thriving community, for some reason Ruby on Rails and Ruby developers are among the friendliest out there (this is purely anecdotal, I have no evidence for this). I suspect this has to do with how new the framework is, and so almost everyone remembers what it was like to be a beginner.”

Apply What You’ve Learned Really Quickly

Unlike Ruby, Ruby on Rails is basically a collection of shortcuts written in Ruby which allows you to build web applications – basically websites – really quickly. Because of this you’ll have a site you can use and share within a much shorter timeframe than if you built it all from scratch. The feeling of achievement is therefore a lot greater, you’ll encounter less frustration and you’ll quickly be able to see the results of all your hard work.

Web developer Michael Healy puts it this way:

“Ruby on Rails allows you to build powerful applications, which used to take weeks or months (to build), in just a couple days. It has made it significantly easier to get started in coding, and made it fun and enjoyable.”

Ruby On Rails Covers Front And Back-End

Ruby on Rails is pretty unique in that it covers both the front and back-end, meaning that as a Ruby on Rails developer you can describe yourself as truly full stack. As a full stack developer you can literally build an entire website without having to outsource to other developers or rely on other members of your team, which is a huge asset at a startup or as an entrepreneur. This also means that you’ll get a chance to learn some other languages, for example HTML/CSS, Javascript, and Ruby along the way. With other programming languages you would not usually get this opportunity.

Job Opportunities In A Thriving Startup Scene

Finding proficient Ruby on Rails developers is still not an easy task, with many unfilled developer jobs out there for the taking. With the most buzzing startups using Ruby on Rails to build their sites, Ruby on Rails developers are in massively high demand from both more established startups, as well as newer ones on the scene hoping to recreate the success of their peers.

Rob Dey at Coder Manual sums up the beneifts for Ruby on Rails developers in the current climate here:

“Ruby on Rails developers benefit from high average salaries, a well-established volume of support articles and forums, and high demand for their skill set.”

Below is a list of just a few well-known startups built in Ruby on Rails:

_ **Basecamp, Airbnb, Bleacher Report, Scribd, Groupon, Gumroad, Hulu, Kickstarter, Pitchfork, Sendgrid, Soundcloud, Square, Yammer, Crunchbase, Slideshare, Funny or Die, Zendesk, Github, Shopify ** _

Why do startups want their sites built in Ruby? Because, as we mentioned before, it’s full stack, so one developer can do both the front and back-end programming. At a startup, the more skillsets you have, the more valuable you are to the company. An additional advantage for startups is that by building their site using Ruby on Rails they can get an MVP up and running very quickly.

Michale at Rails Tutorialdiscusses the value of having Ruby on Rails developers at both startups and larger companies alike:

“Ruby on Rails is one of the most powerful and popular web development frameworks available, used by sites like Twitter, GitHub, Airbnb, and Hulu. Learning Ruby on Rails will give you the tools you need to make your own web applications, while also putting you in a good position to work for a web development consultancy, startup, or other tech company.”

Ruby On Rails Is Beginner-Friendly

Ruby on Rails applications are largely written in Ruby, but despite that, there are numerous features that make it particularly straightforward for beginners to learn.

Rob Dey of Coder Manual tells us:

“Learning to code can be hard, but Ruby developers benefit from a clean, beautiful syntax, a strong ecosystem of plugins (gems), and quickness to launch their products.”

Here are just a few examples of why Ruby on Rails is a good programming language for you to start with :

  • Unlike Javascript and many other languages, you don’t need to remember to end your lines with a semicolon (;)

  • Unlike Python and some other languages, whitespaces and indenting doesn’t matter. A lot of the time, you can leave out things like parenthesis () and curly brackets {} and your code will still work.

  • Perhaps most significantly, Ruby is very readable as it uses plain English. This makes it a lot less intimidating when you’re approaching code for the first time.

Adam Fortuna, developer at Code School summed up the benefits of Ruby on Rails nicely for us:

“There is no other toolkit that offers the productivity, developer community and flexibility of Ruby on Rails. That was one of the biggest draws to it for me — being able to very quickly turn my ideas into reality, to see if they would work and figure out where to go next.”

How To Learn Ruby On Rails

Now that we’ve established that Ruby on Rails is a great first language to learn as a beginner in code, and that there are numerous career opportunities for Ruby on Rails developers at some of the most exciting companies on the planet, the next question we tend to get asked is, how do you learn Ruby on Rails?

In this section we’ll be looking at all the different ways you can get to grips with Ruby on Rails and the pros and cons of all the different ways of learning, from online to offline, free to paid.

Online / Free

If you’re a complete beginner to coding and web development in general, then it’s only natural that you’ll want to try out some coding online before diving into a fulltime course. Fortunately for you there’s been an explosion of websites offering completely free ‘in-browser’ opportunities for you to try out Ruby on Rails without you even having to download any software.

Here is list of some free online courses we would highly recommend you try out before taking the plunge with a more formalized method of learning:

Codecademy

TryRuby

Rails for Zombies

Rails Tutorial by Michael Hartl

Pros:

  • It’s a great way to see if coding in Ruby on Rails is something you might enjoy, as either a hobby or a career. If you don’t enjoy it, it’s probably a big sign that you won’t want to take it any further. Much better to find that out now, before you spend any money on it!

  • You can do it at your own pace, in your own time. No turning up to a school or university class. You can study when it’s convenient for you and set your own personal goals.

  • It won’t cost you a penny, and you’re not committed to a program of learning.

Cons:

  • Although free online exercises are a great introduction to the skills you might need to launch a career in web development, it’s unlikely you’ll be able to acquire all the necessary skills you’ll need to feel confident in applying for jobs as a Junior Web Developer.

  • You’re on your own. Unlike more formalized kinds of learning, with a free online class or video tutorial you won’t be supported through your learning by a teacher or mentor. You’ll need to make yourself accountable to yourself, and be responsible for your own success.

Imran Ghani of Web Development Helpoffers his tops tip to beginners starting out in code:

Wanna learn Ruby? Start implementing a very basic example using an online tutorial. Enjoyed? Take a good online course in Ruby on Rails to get in-depth knowledge. Remember, practice makes perfect!

 

Online / Paid

Once you’ve had the chance to try out some coding using one of the free options above, you’ll have a good idea of whether you’re ready to make the leap into a more structured learning environment. There are a number of online schools, including CareerFoundry, who offer this. The price of these courses ranges significantly so take a look at the list of schools below for an idea of what’s available to you if you’re ready to fully commit to an online program of learning and begin your career in Ruby on Rails.

CareerFoundry

Thinkful

Bloc

Pros:

  • You can work anywhere, anytime. The huge advantage to online learning is that you don’t need to visit a classroom every day in order to take your classes! You can work on a beach, in a restaurant, in bed or on the train as long as you have a decent laptop and internet connection. This means that if you live in a small town which does not have a great university or evening classes available, your learning is not limited; you can get world class teaching at the click of a button.

  • You’re not alone. Many paid, online courses offer expert mentors or teachers to guide you through your coursework. With these professionals on hand to answer your questions, you’ll feel more motivated, supported and ultimately you’re much more likely to succeed.

  • Community. Structured online courses often include student communities that can further support and encourage you in your learning. You may also find peers with whom you can work on projects or collaborate with.

  • Higher chance of success. Unlike learning online through multiple channels, with a structured course it is in the interest of the provider of that course for you to succeed. With that in mind, they will work hard to make sure you complete your exercises, finish your coursework and start getting work experience upon course completion - they are vying for your success.

  • Cost. Although still a financial commitment, an online course can be a much more cost-effective way of learning about web development than an offline or university course.You will also save money on transport costs, as you can work entirely from home and not have to travel into a physical location every day.

Cons:

  • It’s a commitment. Not only is a paid online course a financial commitment, it’s a commitment of time and energy. Many online courses demand a certain number of hours from you per day in order for you to succeed within your desired timeframe. This can mean less time for other commitments like friends or family, or even working reduced hours in order to meet that commitment. Those who are unprepared for this can end up falling behind pretty quickly.

  • You’re still physically alone. Despite the efforts of online courses to create great online communities, and include as much mentor interaction with students as possible, if you’re the sort of person who likes interacting with people in person and face-to-face, you might struggle with the physical isolation of an online course.

Offline / Paid

You may be learning how to build websites, but there are many offline opportunities to learn Ruby on Rails, depending on your location and what’s available in your local area. Take a look at the list of offline schools currently teaching web development, including courses in Ruby on Rails.

General Assembly

Dev Bootcamp

Anyone Can Learn To Code

Coding Dojo

Epicodus

IronHack

Pros:

  • You’ll have human interaction! You’ll be surrounded not only be other learners like yourself to encourage and support you, but you’ll also have a teacher with whom you can directly question about any element of the course you might be stuck on.

Cons:

  • Cost. It can be significantly more expensive taking on an offline web development course than a similar version that is online.

  • No one-on-one attention. Unlike an online course where you often get your mentor’s undivided attention and feedback as you progress through your course materials, with an offline course your teacher will be dealing with 30 other students, their questions, queries and personal obstacles. This can often mean you have to wait your turn before getting an answer to your question, which can in turn hold up your overall learning.

  • Location-specific. The obvious downside to offline learning is that it very much depends on what is available in your local area. If you are in the middle of nowhere, you may have to travel a long way to your nearest class, or simply not have one available at all. Inhabitants of major cities will obviously have the most choice, while those in small towns will simply have to make the best of what they’ve got.

  • Time-specific. Unlike online learning, which you can fit around your own schedule and commitments, offline learning will usually be at a fixed time which accommodates an entire class. If you work long hours, or nights, it can be very difficult finding a web development course that is available when you are available to take it.

A Day In The Life Of A Ruby On Rails Developer

Ever wondered what your life would look like if you were working as a Ruby on Rails developer? In this section we’d like to give you a glimpse into what it’s really like working in code, from fixing bugs to working within the wider team.

 

Working In Your Dev Team

As a web developer you have to get used to working with other developers on a daily basis. Depending on the size of the company, the amount of responsibility you’ll be given could vary dramatically. At an early-stage startup you might be in charge of everything, in which case you’ll be working by yourself, but in a larger company you will likely be given a section of the site that you are responsible for maintaining and/or improving, while other developers are given their own areas of responsibility.

Every developer has his/her own coding style, however most companies have a coding style guide which all developers use in order to keep the overall code maintainable and readable. Having everybody on the same page in terms of coding style ensures the transition of projects from one team member to another is smooth.

Working Within The Wider Team

At a medium to large company you’ll likely have the chance to work with other team members, from designers through to copywriters and content managers. Here is a handful of roles you can expect to work with as a Ruby on Rails web developer.

UI And UX Designers

The UX designer will walk you through the design of the site and provide you with page mockups, prototypes or wireframes to work from which determine the site navigation and user flow so that the user has the best experience possible on the site and is easily able to reach their goal. The UI designer will work on the page icons and colours to ensure the user has a positive experience on each individual page and can always find what they are looking for exactly where they are expecting to find it. As the developer, you will then be able to work directly from these designs to build the final product.

Project Managers

Your project manager will work with the team to priorize tasks and determine project timelines. With their input and guidance you’ll be better able to manage your workload and capacity, focusing on the most important jobs at hand. Many developers, including those at CareerFoundry, embrace Agile, a project management system which takes into account each individual task, each team member’s capacity and the value of each task. It is very popular in development circles as it helps teams break down each large project into smaller tasks to realistically calculate how much can be accomplished within a given “sprint” (a sprint is a time-period of usually 2 weeks).

Copywriters

As a web developer you’ll require content from in-house or external copywriters to populate your web pages. Although the messaging itself will be directed by the UX team, you will also be communicating with the content team to give details on word count, headers and subheaders so that the text provided fits into the allocated space you have built into the web page.

Routine Tasks Of A Ruby On Rails Developer

Once you’ve learned Ruby on Rails and launched a career in web development, irrespective of where you might be working you’ll probably find you’ll be asked to complete a number of similar tasks on a regular basis. To give you an idea of what these more ‘routine tasks’ might be, here is a list of a few:

  • Fixing bugs that occur on the web application (these could be frontend or backend bugs)

  • Implementing new features / writing tests

  • Testing what you’ve implemented

  • Researching new technologies which could benefit the company’s stack / workflow

  • Drinking coffee (or tea if you prefer)

Skills And Personality Traits Of A Ruby On Rails Developer

By now you should have a fairly good idea of what it means to be a Ruby on Rails developer, and how best to learn Ruby on Rails itself. But is this job the right one for you? We asked our developers here at CareerFoundry to put together a list of their top three personality traits they believe best suits a career in web development, and these are the ones they came up with.

Patience

Web development can certainly have its frustrations. If you have a short attention span, or get frustrated very easily, this might not be the career for you. Patience as a developer is key to success as well as a deep-rooted desire to solve problems, however long it may take.

Eagerness To Learn

With such a huge community around Ruby on Rails things are evolving at pretty speedy rate. There are always new aspects to learn, and you’ll find opportunities popping up all the time for you to build on your current skillset. A strong passion for what you’re doing, and an inherent desire to keep on learning are what will make the difference between you being an average developer and a great one.

Great Team Player

Web development is a team sport, despite its somewhat solitary reputation. You’ll need to be a great communicator and a generous worker to succeed in this environment as your team will be relying on you to keep up your end of the work to get the job done. And it’s not just other developers you’ll be working with. As we saw earlier you’ll be working directly with designers, project managers and copywriters as well as many other members of your company to ensure the finished product comes up to standard, so if you don’t enjoy conversing with people or communicating in general, think carefully before diving into a web development career.

Want To Learn Ruby On Rails? Next Steps

OK, so now that you have a good idea of what life as a web developer would be like, and you’re still interested in pursuing it as a career, what are your next steps?

Sushant Das of Eduonix gave this advice to beginners:

“The best way to learn Ruby on Rails is to start building an app with it. True learning happens only when you step into the unknown and find your way back home. Real life skills are built when you are able to see the bigger picture where diverse parts of technology converge to make something grand and beautiful.”

Codecademy / TryRuby

If you’ve never touched the Ruby programming language before, Codecadamy’s Ruby Course as well as Codeschool’s TryRuby are perfect destinations to start your journey.

TryRuby’s beautifully designed, interactive course gives you a very quick introduction (15-30 minutes) into basic Ruby. The course begins by telling you more about numbers, strings, properties and methods before playfully guiding you to build your own methods and libraries. This course will show you how to use Ruby within your HTML code in six levels.

Codecadamy’s Ruby course digs a bit deeper and lets you use your newly learned skills to solve little projects, such as creating your own histogram or a little program for rating a movie. In the end you’ll dive a bit more into Object Oriented Programming and even build your own virtual computer.

Building Your Network / Meeting Others In The Field / Tech Meetups

One important aspect of being a developer is to join and contribute to your developer community. Participating in open source projects or helping out non-profit organizations with your newly developed skills won’t only make great portfolio projects, but also help you to meet many other like-minded developers. Additionally you should keep an eye out for local meetups. In many major cities worldwide you can find regular meetups for those in your field where you can talk about your projects and get help if you need it. You’ll also be able to find out about the newest trends in programming and, most importantly, have the chance to speak to and get to know other developers. Meetups, especially when hosted by a bigger tech company, can also be a great opportunity to find out about hiring opportunities.

Landon Schropp, author of Unraveling Flexbox, offers this advice when you’re starting out as a Ruby on Rails developer:

“The best thing you can do to learn Ruby on Rails is get to know other, more experienced developers. If you have the opportunity, I highly recommend visiting a local Ruby on Rails meet up group and saying hello!”

Conclusion

Are you ready to get started in Ruby on Rails? Our online, mentored Web Development Course will teach you everything you need to know to start your new career. You’ll be building both front and back end, so you have the skills you need to change your career and become a full stack web developer. We also offer a money back guarantee to anyone who does not find a job they love within six months of completing the course. So if you’re looking to change your life and career, and are passionate about building beautiful, functional and high-performing websites, then sign up now here.