You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...

When dealing with AR scopes, you can remove conditions, order, etc by using the unscope method. It is available on...

postgresql.org

PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...

Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...

What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...

The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...

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

github.com

When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...

Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...

github.com

Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...

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