lists.ruby-lang.org

TruffleRuby is an experimental Ruby implementation that tries to achieve ~10x performance over MRI. This has been on our radar...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

TLDR: A function is hard to use when it sometimes returns a promise and sometimes throws an exception. When writing...

smashingmagazine.com

A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...

makandra dev

You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...

Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...

In general, you should not put a block element inside an inline element. So don't do this: text

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

Understand how we're dealing with exception notifications. Integrate exception notification into your MovieDB. Use your personal e-mail as...

Adopting legacy Rails apps Talk to your mentor about how we're approaching applications that are either old or abandoned...

So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

If your Carrierwave uploader dynamically generates the filename (e.g. by incorporating a user's name), you must call model.save! after...

TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...

So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...

Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...

Plot graphs in Ruby WebGraphviz renders in your browser via JavaScript (to store the rendered graph, extract the SVG using...

Like you know from "How to tell ActiveRecord how to preload associations (either JOINs or separate queries)", you can tell...

This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...

makandra dev
medium.freecodecamp.com

The linked article states that CSS breakpoints should group "similar" screen sizes and thus be at: 600px "narrow"

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...

When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...