The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rails 5 Basics : Show Article
To learn a bit of magic behind Rails 5 routing, read the seventh chapter from Rails 5 Quickly book online here Show Article
10th edition of RubyIssue(s)
This is the 10th episode of our guided tour through the Ruby universe of issues. Bonus: Bi-monthly email delivery. In this episode you will read about issues from MailCatcher, AsciiDoctor, ROM and Errbit.
The Ultimate Full Stack Rails Course
A full stack online course for people learning to code showing them how to design, build and ship software products with Rails (and other technologies). http://fullstackrails.co/. The course is in beta and only taking in a limited number of students. Early bird access will be available.
Rails DB - version 1.0
Rails DB finally reached version 1.0, one last thing which I wanted to finish before release was - creating records. So now Rails DB is very similar to ActiveAdmin or other similar gems + but also has own set of cool features. [more inside]
Pillars of the Rails Monitoring Stack: 2016 Edition
From uptime to logs to app monitoring, we cover our Rails Monitoring Stack heading into 2016.
Ruby Deep Dive
A new course for intermediate Ruby developers that can help you boost your skills and confidence. http://blackbytes.info/ruby-course/
Ruby on Rails E-commerce API for Beginners. Part 1-2
A detailed step-by-step tutorial on how to create e-commerce API with Ruby on Rails. It is aimed at beginners so looks like a very simple guide. It consists of two parts so far and is to be continued. [more inside]
API Design with API Blueprint
API Design can sometimes be quite hard, diving into code might not be the best option. Enter API Blueprint/Aglio. I wrote a small blogpost talking about my struggles designing an API and a handy automated gulp live reload file to get designing.
Building Cross Model Search with Ember, Rails, and Elasticsearch
Search needs to be contextually aware in order to be intuitive. Let’s use Rails and Elasticsearch to build a cross model search for an ecommerce store.
The Definitive Guide to Ruby Heap Dumps, Part I
In this first part of a 2-part-series, Richard Schneeman looks at what a heap dump is, what the contents look like, how to analyze one, and how to take a heap dump in production.
Sidekiq as a Microservice Message Queue
I wrote a new article on Sidekiq as a Microservice Message Queue. Hope you enjoy!
Ruby Comparable Basics
Why implement spaceship operator in Ruby? Learn why by reading the Ruby Comparable Basics
Pascal's Triangle with Ruby's Enumerator
Enumerator is a powerful standard library class doesn’t seem to get enough attention among Rubyists. Among other things, it can be used to generate infinite sequences in Ruby. In this blog post, we’ll examine how to use Enumerator to solve Pascal’s Triangle. https://rossta.net/blog/pascals-triangle-with-rubys-enumerator.html
Immutable strings in Ruby 2.3
Immutable strings in Ruby 2.3 analyze the impact of working with frozen string literals in ruby 2.3 and how it affects literals identity, thread safety and performance.
Gemsmith 6.0.0
Gemsmith is a command line interface for smithing new Ruby gems. It builds upon/enhances default Bundler functionality giving you the scaffolding you need for crafting professional Ruby gems. See the README for additional features and tutorial overview. We hope this makes your life a little easier so you can get setup quickly to solve interesting problems. Enjoy!
Functions To Call Upon: ActiveRecord Association Callbacks
We know and love ActiveRecord’s callbacks. But do we really know all about them? This blog post uncovers Rails’ best-kept secret: association callbacks, aka your new best friend for all those has_many relationships!
5 practical Ruby on Rails projects
There a 5 possible ways to create value when hired as a Rails developer. Let’s look at each and possible gems you could use to speed up your development process.
Ruby Version Usage in Commercial Projects, 2015 Edition
We just published charts and insights into which Ruby versions are used in the industry today, sourced from Semaphore CI.
A powerful way to deploy to Heroku
In this blog post I describe how I built a custom deployment system, which uses Hubot, Jenkins and other means to provide fast, stable, predictable, and very customizable deploys: [more inside]
Rails 5 Basics : Update Article
Read the sixth chapter from Rails 5 Quickly book online here Update Article
Validates Type 2.0
validates_type is a gem for validating that a specific value is exactly the type it is expected to be. In a recent update, the validates_type gem has been extended to validate against any defined type in a system. With this update, the uses of this gem greatly increased. They increased so much that it is possible more than 2 people will use it, and that would be pretty awesome.
SemVer for Library Maintainers
Do you have a rubygem? Ever wonder what your next released version should be? Find out by reading SemVer for LIbrary Maintainers
Watch Ruby as it parses your code
In this post we’ll use a little-known command line flag to spy on Ruby as it parses our code. - http://blog.honeybadger.io/watch-ruby-as-it-parses-your-code/