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.
Hunting down a slow Rails request
See how we used Skylight.io to track down a slow Rails request.
Debug Ruby/Rails in Visual Studio Code (a perfect RubyMine alternative)
VS Code allows users to extend its functionality for grammar, intellisense, or even debugging, so I wrote this extension called vscode-ruby to bring VS Code the ability to debug ruby/rails/etc. [more inside]
Dangers of Model in Rails 5 Session
The thirteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn about the Dangers of Model in Rails 5 Session
Announcing dry-rb
We’ve officially launched and announced dry-rb organization along with releasing new major upgrades of dry-validation and dry-types.
HOWTO send email with Rails and Amazon SES
HOWTO send email with Rails and Amazon SES. Learn how to setup your Rails application to send email via Amazon SES using version 2 of the official AWS SDK for Ruby.
Mutual TLS authentication to protect your Rails admin panel
Let the browser also authenticates itself against the server with a client-side certificate. How to set up the web server (full config here) and Rails to check the certificate contents: http://blog.codeship.com/how-to-set-up-mutual-tls-authentication/
The Simple Yet Powerful Ruby Enumerable Module
Leigh Halliday looks at the methods of the Enumerable Module: Article here.
Pronto v0.6.0 released
Pronto keeps getting better at providing a quick automated code review of your changes. Check out the CHANGELOG for the latest features/changes/fixes and Pronto.
Model Tests in Rails 5
The twelfth episode of Railscast is now updated to Rails 5 as a blog post. Learn how to write Model Tests in Rails 5
The Power of Arel
If you’re using Ruby on Rails, chances are you are already familiar with ActiveRecord. If not, ActiveRecord is an Object Relational Mapping (ORM). Under the hood, ActiveRecord uses a relational algebra library called Arel to compose queries for execution. Arel is a very powerful library readily available for when ActiveRecord falls short..
Ruby Bits: Each with object
New series of posts with small but interesting things about #Ruby: https://subvisual.co/blog/posts/74-ruby-bits-each-with-object
How to Custom Devise for Ajax Authentication
In this article, I’ll show you step by step to custom devise which sign in/up by ajax: http://goo.gl/h7kAcW
How to make your next Rails upgrade easier
Here are some thoughts on how to make your next Rails upgrade easier.
Intention vs Implementation in software engineering
These slides illustrate how Feature implementations or even feature requests themselves sometimes confuse the “why” and the “how”. Even if the resulting code works, it makes business logic’s intentions disappear, which costs in both understanding and maintenance.
Instantly import blog posts from Google Docs
Many teams use Google Docs to brainstorm and collaborate on new blog ideas. A common workflow is to draft a blog post in Google Doc, solicit feedback from teammates, and then publish by copying and pasting the contents from the Google Doc into their blog cms. Well copy and paste no more.
Wolfentext3D: Terminal-Based, First-Person Fun in a Single Ruby File
Wolfentext was born out of the need to share a public code sample with a potential recruiter. What better way to do that then to use the best language around and have fun while doing it? Follow along as we pay tribute to the classic 2.5D shooters of yesteryear by creating a fully portable, cross-platform, terminal-based game – one piece at a time, and all contained within a single Ruby file!
Refactoring User Name in Rails 5 App
The tenth episode of Railscast is now updated to Rails 5 as a blog post. Learn all about Refactoring User Name in Rails 5 App
The Zen of (Static) Book Designs (w/ Jekyll) - 2016 Edition - Add Your Design / Theme
Hello, I’ve started a new site / series, that is, The Zen of (Static) Book Designs that collects (static) book themes a.k.a. designs (for Jekyll). The first designs in the series include: [more inside]
Kontena selected Black Duck Open Source Rookie of the Year
Kontena - Open Source Container Platform written in Ruby was just selected one of the most outstanding open source projects of 2015 by Black Duck. The 8th annual Black Duck Open Source Rookies of the Year Award recognizes the top new open source projects initiated in the past year. Previous years’ awarded projects include some of the most recognized projects such as Ansible, Cloud Foundry, Docker, OpenShift, and OpenStack among many others. https://github.com/kontena/kontena
swift_client 0.1.3 released
A new version of swift_client, a gem to integrate the openstack swift object store, is out. This release ships support for openstack identity v3 scoped authentication and fixes a bug regarding temporary urls.
Telegram bot. Rails way.
telegram-bot gem is targeted at ease of development, debugging, and testing bots, keeping interfaces minimalistic, easy integration with Rails application, and providing all necessary tools to build a bot. [more inside]
Creating new content types in Rails 4.2
In this short blogpost I describe how to register a new content type in Rails and provide means to parse parameters from it using ActionDispatch::ParamsParser middleware.