postgresonline.com

When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...

To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

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

makandra Curriculum

Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...

We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...

When working on a bigger project, the easiest way to improve your work relation with a client or an external...

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

makandra Curriculum

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

makandra Curriculum

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

For each movie in MovieDB, we want to track which other movie it was inspired by. For...

It smells. Rethink your code design. Code example with makandra/has_defaults: class Post < ActiveRecord::Base has_defaults tags: [] # field in db...

makandra Curriculum

Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...

hacks.mozilla.org

Unfortunately, Web APIs haven’t provided the functionality to copy text to the clipboard through JavaScript, which is why visiting...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

aws.amazon.com

I am happy to announce that this information is now available in JSON form at https://ip-ranges.amazonaws.com/ip-ranges.json. The information...

makandra Curriculum

How do HTTP requests and responses look like? What are HTTP headers? What are they used for?

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

makandra Curriculum

Read the Rails Guide about Active Record migrations Understand why we never use models in migrations. Checkout the repository...

Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation...

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

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

As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.

Use form models to handle this problem Or soften the validation to validates_presence_of :parent