# Learning Ruby

**URL:** https://metaruby.com/c/learning-ruby/25.md?page=1

[Latest](https://metaruby.com/latest.md) · [Categories](https://metaruby.com/categories.md) · [Tags](https://metaruby.com/tags.md)

**Page:** 2

---

## [\[Screencast\] Improving Partial Loading Performance](https://metaruby.com/t/screencast-improving-partial-loading-performance/1854)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [August 6, 2018, 11:36am UTC](https://metaruby.com/t/screencast-improving-partial-loading-performance/1854 "2018-08-06T11:36:01Z")

</div>

N+1 queries can make an application slow. Having queries called within views can also slow down an app as well as making it less extendable. https://www.driftingruby.com/episodes/improving-partial-loading-performance

---

## [The Definitive RSpec Tutorial With Examples](https://metaruby.com/t/the-definitive-rspec-tutorial-with-examples/1831)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [July 27, 2018, 1:05pm UTC](https://metaruby.com/t/the-definitive-rspec-tutorial-with-examples/1831 "2018-07-27T13:05:11Z")

</div>

Would you like to learn how to write tests for your Ruby applications using RSpec? I wrote an article for you! Check it out: Let me know if you have any questions :slight\_smile:

---

## [Everything You Need to Know About Ruby Operators](https://metaruby.com/t/everything-you-need-to-know-about-ruby-operators/1825)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [July 24, 2018, 1:08pm UTC](https://metaruby.com/t/everything-you-need-to-know-about-ruby-operators/1825 "2018-07-24T13:08:28Z")

</div>

I published a guide on Ruby’s Operators, including everything from the more obscure to the day-to-day operators. You’ll learn about the misterious spaceship operator, the useful (but missunderstood) modulo operator, or …

---

## [\[Screencast\] Editors](https://metaruby.com/t/screencast-editors/1781)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 11:10pm UTC](https://metaruby.com/t/screencast-editors/1781 "2018-07-02T23:10:50Z")

</div>

One question that I get asked most often is what editor, theme and extensions am I using for my editor. In this episode, we take a look at the different extensions and settings that I use. https://www.driftingruby.com/ep…

---

## [Fast Lookup & Unique Items With Sets](https://metaruby.com/t/fast-lookup-unique-items-with-sets/1774)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 11:55am UTC](https://metaruby.com/t/fast-lookup-unique-items-with-sets/1774 "2018-06-29T11:55:12Z")

</div>

In this new Ruby lesson you’ll learn about sets, a powerful data structure to help you collect unique items. Did you know that a set is implemented as a hash? That’s why it’s so fast! Watch the full video here to learn…

---

## [Understanding The Law Of Demeter](https://metaruby.com/t/understanding-the-law-of-demeter/1740)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 12:18pm UTC](https://metaruby.com/t/understanding-the-law-of-demeter/1740 "2018-06-11T12:18:56Z")

</div>

In this video you are going to learn about the law of demeter to help you write better Ruby code! You’ll learn exactly what the law of demeter is, how to use it & why you should use it. Watch the FULL video to make sur…

---

## [\[Screencast\] User Notifications](https://metaruby.com/t/screencast-user-notifications/1723)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [June 4, 2018, 12:52pm UTC](https://metaruby.com/t/screencast-user-notifications/1723 "2018-06-04T12:52:03Z")

</div>

Using the Notifications Rails Engine, we are able to add notifications to our applications based on certain events. The engine provides the schema and necessary controls and associations to seamlessly integrate into your…

---

## [Urlify Functions & Its Implementation](https://metaruby.com/t/urlify-functions-its-implementation/1722)

<div class="topic-metadata">

**Author:** [@JamesD](https://metaruby.com/u/JamesD)\
**Replies:** 0\
**Last updated:** [June 4, 2018, 9:52am UTC](https://metaruby.com/t/urlify-functions-its-implementation/1722 "2018-06-04T09:52:05Z")

</div>

URLify is a simple gem that refines the conversion of UTF-8 strings to ASCII-safe URI strings and enables it to be used as readable URL-segments. After the gem is installed, you can call the URLify function for any UTF-8…

---

## [Named Regular Expressions in Ruby](https://metaruby.com/t/named-regular-expressions-in-ruby/1715)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 11:59am UTC](https://metaruby.com/t/named-regular-expressions-in-ruby/1715 "2018-05-31T11:59:18Z")

</div>

In this video you’ll learn how to improve your regular expressions by using named groups instead of position-based groups. This will help you write more expressive regexp, so watch the full video now to learn how to do …

---

## [Setting up Ruby on Rails 5 app with MongoDB in 10 minutes](https://metaruby.com/t/setting-up-ruby-on-rails-5-app-with-mongodb-in-10-minutes/1707)

<div class="topic-metadata">

**Author:** [@Nishant](https://metaruby.com/u/Nishant)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 10:49am UTC](https://metaruby.com/t/setting-up-ruby-on-rails-5-app-with-mongodb-in-10-minutes/1707 "2018-05-25T10:49:46Z")

</div>

I have just published a blog on MongoDB integration with Rails in 10 minutes. Check it out. https://blog.botreetechnologies.com/setting-up-ruby-on-rails-5-app-with-mongodb-in-10-minutes-3c400c055262

---

## ["Developing Games With Ruby" Stuck at creating prototype tank game](https://metaruby.com/t/developing-games-with-ruby-stuck-at-creating-prototype-tank-game/1703)

<div class="topic-metadata">

**Author:** [@Joji12](https://metaruby.com/u/Joji12)\
**Replies:** 2\
**Last updated:** [May 23, 2018, 8:22am UTC](https://metaruby.com/t/developing-games-with-ruby-stuck-at-creating-prototype-tank-game/1703 "2018-05-23T08:22:48Z")

</div>

I don’t know why , i followed the code sample and it didn’t work, it seems like it is outdated? Is there anyone who can fix this?

---

## [How To Use The Decorator Pattern in Ruby](https://metaruby.com/t/how-to-use-the-decorator-pattern-in-ruby/1699)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [May 20, 2018, 11:43am UTC](https://metaruby.com/t/how-to-use-the-decorator-pattern-in-ruby/1699 "2018-05-20T11:43:26Z")

</div>

Hey, If you’d like to improve your Ruby code you may enjoy this article: Thanks for reading :slight\_smile:

---

## [The super keyword](https://metaruby.com/t/the-super-keyword/1691)

<div class="topic-metadata">

**Author:** [@farsi\_mehdi](https://metaruby.com/u/farsi_mehdi)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 7:38am UTC](https://metaruby.com/t/the-super-keyword/1691 "2018-05-16T07:38:13Z")

</div>

In this article we’re going to explore the following topics: implicit arguments super vs super() super with blocks super with the ancestors chain SEE MORE

---

## [\[Screencast\] Ruby on Rails Development with Microsoft Windows 10](https://metaruby.com/t/screencast-ruby-on-rails-development-with-microsoft-windows-10/1678)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 12:53pm UTC](https://metaruby.com/t/screencast-ruby-on-rails-development-with-microsoft-windows-10/1678 "2018-05-07T12:53:15Z")

</div>

Developing a Ruby on Rails application on Windows can be difficult, but doesn’t have to be with Bash on Windows. Learn how to use Bash to install the Ruby interpreter. https://www.driftingruby.com/episodes/ruby-on-rails-…

---

## [Time Complexity For Ruby Developers](https://metaruby.com/t/time-complexity-for-ruby-developers/1650)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [April 20, 2018, 1:22pm UTC](https://metaruby.com/t/time-complexity-for-ruby-developers/1650 "2018-04-20T13:22:24Z")

</div>

Time complexity is one of the most interesting concepts you can learn from computer science, and you don’t need a degree to understand it! If you want to learn about this I wrote an article for you: Let me know what …

---

## [Infinity!](https://metaruby.com/t/infinity/1630)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [April 8, 2018, 10:56am UTC](https://metaruby.com/t/infinity/1630 "2018-04-08T10:56:49Z")

</div>

Did you know that you can create infinite values in Ruby? I made for the Ruby community where you will learn how: Don’t forget to subscribe to the channel to keep improving your Ruby skills & help me grow…

---

## [\[Screencast\] ActiveRecord Tricks](https://metaruby.com/t/screencast-activerecord-tricks/1622)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 12:10pm UTC](https://metaruby.com/t/screencast-activerecord-tricks/1622 "2018-04-02T12:10:21Z")

</div>

In this episode, we look at what would seemingly be simple queries, but are more complex once you start looking into them. Using built in ActiveRecord functions, we can make the queries readable and easy to work with. ht…

---

## [Comment and advice about ruby / rails training](https://metaruby.com/t/comment-and-advice-about-ruby-rails-training/1616)

<div class="topic-metadata">

**Author:** [@RubyRailsNinja](https://metaruby.com/u/RubyRailsNinja)\
**Replies:** 4\
**Last updated:** [April 1, 2018, 8:05pm UTC](https://metaruby.com/t/comment-and-advice-about-ruby-rails-training/1616 "2018-04-01T20:05:31Z")

</div>

hi there quite new to this forum :stuck\_out\_tongue: I am ruby and rails developer since 7 years , but only during my spare time and also developer during my dayjob, but not in ruby. I always wanted to be my own boss,…

---

## [Differences between procs and lambdas](https://metaruby.com/t/differences-between-procs-and-lambdas/1592)

<div class="topic-metadata">

**Author:** [@farsi\_mehdi](https://metaruby.com/u/farsi_mehdi)\
**Replies:** 0\
**Last updated:** [March 19, 2018, 7:57am UTC](https://metaruby.com/t/differences-between-procs-and-lambdas/1592 "2018-03-19T07:57:47Z")

</div>

lambdas are strict on argument number. If the call doesn’t respect the exact number of argument then an ArgumentError is raised… see more

---

## [\[Screencast\] Encrypted Credentials in Rails 5.2](https://metaruby.com/t/screencast-encrypted-credentials-in-rails-5-2/1565)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 1:05pm UTC](https://metaruby.com/t/screencast-encrypted-credentials-in-rails-5-2/1565 "2018-03-05T13:05:58Z")

</div>

In this episode, we take a look at the Encrypted Credentials of Ruby on Rails 5.2 and how we can patch it so that we can use other YAML files like a development.yml and test.yml. https://www.driftingruby.com/episodes/enc…

---

## [Ruby Case statement](https://metaruby.com/t/ruby-case-statement/1561)

<div class="topic-metadata">

**Author:** [@farsi\_mehdi](https://metaruby.com/u/farsi_mehdi)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 2:03pm UTC](https://metaruby.com/t/ruby-case-statement/1561 "2018-03-02T14:03:01Z")

</div>

A case statement consists of an optional condition followed by zero or more when conditions. It returns the value of the first truthy when statement. Otherwise nil. See more

---

## [\[Screencast\] Ruby on Rails - Tips and Tricks](https://metaruby.com/t/screencast-ruby-on-rails-tips-and-tricks/1513)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [February 5, 2018, 1:02pm UTC](https://metaruby.com/t/screencast-ruby-on-rails-tips-and-tricks/1513 "2018-02-05T13:02:18Z")

</div>

In this episode, we will go through some of the tips and tricks that we often take for granted. We will be looking at nested routes, scopes, migrations and more. https://www.driftingruby.com/episodes/ruby-on-rails-tips-a…

---

## [Metamagic 101 – Introduction, Installation & Usage](https://metaruby.com/t/metamagic-101-introduction-installation-usage/1496)

<div class="topic-metadata">

**Author:** [@JamesD](https://metaruby.com/u/JamesD)\
**Replies:** 0\
**Last updated:** [January 31, 2018, 5:28pm UTC](https://metaruby.com/t/metamagic-101-introduction-installation-usage/1496 "2018-01-31T17:28:51Z")

</div>

Metamagic gem is a RoR plugin for creating and managing meta tags. It auto-generates the meta tags dynamically throughout and cuts down the need for writing it every time. Metamagic 101 – Introduction, Installation & Us…

---

## [How to make simple background jobs processing in Rails with Sucker Punch](https://metaruby.com/t/how-to-make-simple-background-jobs-processing-in-rails-with-sucker-punch/1477)

<div class="topic-metadata">

**Author:** [@kirill\_shevch](https://metaruby.com/u/kirill_shevch)\
**Replies:** 0\
**Last updated:** [January 21, 2018, 8:01pm UTC](https://metaruby.com/t/how-to-make-simple-background-jobs-processing-in-rails-with-sucker-punch/1477 "2018-01-21T20:01:56Z")

</div>

https://medium.com/@kirill\_shevch/how-to-make-simple-background-jobs-processing-in-rails-with-sucker-punch-9e7128f4db13

---

## [\[Screencast\] Ruby on Rails 5.2.0 Changes and New Features](https://metaruby.com/t/screencast-ruby-on-rails-5-2-0-changes-and-new-features/1454)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [January 8, 2018, 1:46pm UTC](https://metaruby.com/t/screencast-ruby-on-rails-5-2-0-changes-and-new-features/1454 "2018-01-08T13:46:49Z")

</div>

Upcoming features include ActiveStorage, built-in Redis Cache Store, updated Rails Credentials and a bunch of other cool things! Honorable mentions also to the new Stimulus Javascript Framework. https://www.driftingruby.…

---

## [\[Screencast\] Tracking Errors with Sentry](https://metaruby.com/t/screencast-tracking-errors-with-sentry/1394)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 1\
**Last updated:** [December 8, 2017, 5:42am UTC](https://metaruby.com/t/screencast-tracking-errors-with-sentry/1394 "2017-12-08T05:42:49Z")

</div>

Sentry is an Open Source error tracking that helps developers monitor and fix crashes in real time. Learn how to add and configure Sentry to your application. https://www.driftingruby.com/episodes/tracking-errors-with-se…

---

## [\[Screencast\] Speeding Up Tests](https://metaruby.com/t/screencast-speeding-up-tests/1340)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [November 6, 2017, 2:15pm UTC](https://metaruby.com/t/screencast-speeding-up-tests/1340 "2017-11-06T14:15:06Z")

</div>

Slow tests can slow down your development process. Using parallel\_tests, you can speed up your test suite by multiple threads and running the tests in groups. https://www.driftingruby.com/episodes/speeding-up-tests

---

## [\[Screencast\] Sample Data with Factory Bot and Faker](https://metaruby.com/t/screencast-sample-data-with-factory-bot-and-faker/1325)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [October 30, 2017, 12:52pm UTC](https://metaruby.com/t/screencast-sample-data-with-factory-bot-and-faker/1325 "2017-10-30T12:52:16Z")

</div>

Factory Bot is a fixtures replacement which can generate the needed records directly in the tests. Faker can be used to create fake data for these records. https://www.driftingruby.com/episodes/sample-data-with-factory-…

---

## [Red & Write Files in Ruby (the easy way)](https://metaruby.com/t/red-write-files-in-ruby-the-easy-way/1319)

<div class="topic-metadata">

**Author:** [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Replies:** 0\
**Last updated:** [October 29, 2017, 5:47pm UTC](https://metaruby.com/t/red-write-files-in-ruby-the-easy-way/1319 "2017-10-29T17:47:02Z")

</div>

New video! Learn how to write & read files in Ruby :slight\_smile: (…plus how to avoid one problem many developers have when doing this) Watch here now:

---

## [\[Screencast\] Feature Testing with Capybara](https://metaruby.com/t/screencast-feature-testing-with-capybara/1312)

<div class="topic-metadata">

**Author:** [@kobaltz](https://metaruby.com/u/kobaltz)\
**Replies:** 0\
**Last updated:** [October 23, 2017, 12:00pm UTC](https://metaruby.com/t/screencast-feature-testing-with-capybara/1312 "2017-10-23T12:00:42Z")

</div>

Create Acceptance Tests or Feature Tests to extend your automated tests with browser testing. It can help tests some areas that cannot be reached with other types of tests. https://www.driftingruby.com/episodes/feature-t…

[Previous page](https://metaruby.com/c/learning-ruby/25.md)

[Next page](https://metaruby.com/c/learning-ruby/25.md?page=2)
