April 10, 2017 in Learn
Ruby on Rails: Configuration over Convention
What’s that you say? We have it backwards? Ruby on Rails is supposed to favor “convention over configuration”? Well, we’re going to break that rule today… When I was first learning Rails years ago, I thought that the model, view,…
September 13, 2016 in Treehouse News
Get to Know Treehouse Ruby Teacher, Jay McGavren!
We recently welcomed Jay McGavren to the Treehouse teaching team as our new expert Ruby teacher. For those of you new to Ruby, it is a dynamic, open source programming language with a focus on simplicity and productivity. Jay has…
June 6, 2013 in Learn
Using Select2 with Ruby on Rails – Treehouse Quick Tip
In this Treehouse Quick-Tip, Jason Seifer shows you how to use the Select2 Plugin with Ruby on Rails. Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
April 11, 2013 in Learn
How to Use the “each” Method in Ruby on Rails | Treehouse Quick Tip
The “each” method in Ruby on Rails allows you to iterate over different objects inside an array-like structure. It’s an important part of development in Ruby, and Treehouse’s Ruby teacher, Jason, explains how to use it effectively in this Treehouse…
October 17, 2012 in Learn
A Behind-the-Scenes Look at What Powers Ruby on Rails
What is Ruby on Rails? Ruby on Rails is a web development framework that makes it easy to write web applications. Rails was extracted from an application called Basecamp. When you start writing a Ruby on Rails application, it’s like…
March 3, 2011 in Learn
10 Must Have Ruby Gems
One of the most beautiful things about Ruby development is the ease of adding functionality through packaged libraries called gems. With the power of Bundler, you can quickly add and manage gems in few lines of code. With the recent…
July 2, 2007 in Learn
5 Ways to Optimize AJAX in Ruby on Rails
Any sufficiently advanced technology is indistinguishable from magic.– Arthur C. Clarke When Google first unveiled GMail, then GMaps, a firestorm of interest and activity was generated — not just in those Google applications, but the technologies that powered them. These…
May 7, 2006 in Learn
The Foundations of Ruby Arrays
An array is a list of items in order (like vitamins, minerals, and chocolates). Those keeping score at home might be interested to know that the Rails website framework makes 771 calls to Array.each, 558 calls to Array.map, and 1,521…
May 17, 2023 in AI
Generating Database Seed Files with ChatGPT
Frameworks like Laravel and Ruby on Rails eliminate countless decisions that you would otherwise be forced to make when building web applications. Even so, a great deal of time is spent on mundane tasks rather than building the intellectual property…
December 2, 2022 in Learn
Java vs. JavaScript: A Complete Comparison
The programming languages Java and JavaScript may sound similar, but they’re not actually related to each other at all. In fact, it’s often said that the name ‘JavaScript’ was a marketing tactic to take advantage of Java’s popularity. Although both…
December 2, 2022 in Learn
How to Become a Web Developer: 6 Achievable Steps
It’s one thing to train to become a professional web developer. It’s another to do it quickly. People spend well over four years within the walls of a university and close to $100,000 to graduate with a computer science degree….
November 25, 2022 in Learn
How To Create Autocomplete Dropdowns with the Datalist Element
The <datalist> element is a new addition in the HTML5 specification. The <datalist> element allows developers to create native autocomplete dropdowns for their web applications. This type of user interface component is used on form fields and search boxes as…