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

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...

When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

andismith.com

If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...

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

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

In our daily life as web developers we are constantly faced with technical problems that can be solved with a...

Talk with a colleague and find out why we're using building some of our sites using static site...

We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to...

makandra Curriculum

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

To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...

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

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

makandra Curriculum

What is rake good for? Take a look at some of the Rake tasks that Rails gives you (rake...

makandra Curriculum

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

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

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

There is no single place to look up documentation for our stack. This card includes some hints where you can...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

github.com

MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

makandra dev
bootswatch.com

Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...