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.
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/
Benchmarking a Go AI in Ruby: CRuby vs. Rubinius vs. JRuby vs. Truffle/Graal
I wrote an AI for the board game Go called rubykon, I ran my benchmarks with major ruby implementations to see who’s the fastest and wrote it up in a post. If you are interested about Go AIs in general and why they still can’t beat humans have a look at my talk “Beating Go Thanks to the Power of Randomness” from Rubyconf 2015
Code Ruby like you build Lego
Split your app based on business logic bricks and assemble them http://slides.com/apneadiving/code-ruby-like-you-build-legos
From Jbuilder to AMS, with tests
This article explores how you might test your JSON API endpoints, specifically around making the change from Jbuilder to AMS.
An Interview with Jose Valim
Nihal Sahu sits down with well-known Rubyist and creator of the Elixir language, Jose Valim. Read An Interview with Jose Valim
Rails 5 Basics : View to Model
Read the fifth chapter from Rails 5 Quickly book online here View to Model