Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...

In a web application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails...

Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class

makandra Curriculum

Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...

Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that...

Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...

Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...

Many of our clients can't or don't want to design their user interfaces. In the absence of a...

Some tasks in a web application are better not done live when a user request a page, but in the...

Action Mailer Basics and Previews Chapter "Task H1: Sending Mail" from Agile Web Development with Rails 7.2 (in our...

Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...