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

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

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

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

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

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

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

makandra Curriculum

makandra's development process Learn about our process. The squares represent the state of the issue in Linear:

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

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

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

Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:

Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...

makandra Curriculum

Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra Curriculum

Authentication is all about being able to verify the identity of a user in the context of our application.

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

makandra Curriculum

Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...