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.
How To Change The View Path Of A Controller In Rails
This article describes how to manipulate the views paths in your Rails app. You will see how you can use to share a view directory with another controller or switch the base view path based on some variable such as a site name for a multi-tenant app.
Making HTTP requests in Ruby
This article is all about HTTP requests. It covers which libraries are out there, how to monitor what they’re doing, and how code can be structured to encapsulate them to the outside world. Read more
Brakeman Pro Engine is here!
I am very excited to announce Brakeman Pro is now available as a gem. Not only can you use the Brakeman Pro Engine from the command line and as a drop-in replacement for OSS Brakeman, you can also easily add automated security coverage with the new RSpec and Minitest integrations. Read more
Send SMS messages like emails in Rails with Textris
Sending SMS messages in a Rails application is normally done with an API gem. In this post we investigate harnessing the power of Action Mailer to send SMS messages using the Textris gem.
Mutli-user spreadsheets with ActionCable
A screencast on Phusion’s recent Multi-user Spreadsheets tutorial using RethinkDB.
Custom lists in ruby
A simple example of how define custom lists in ruby for models used within the application. More here:
A Case for Composition
A concrete example of how composition was used and the thought process as to why. More Here
4.5 Ways to Install Ruby in Userspace
Are you a beginner in Ruby? Do you want to test it out without installing or using the easiest way? Read more
Passing iOS device token with turbolinks-ios
Ruby on Rails 5, Turbolinks and Turbolinks iOS are fantastic frameworks to build hybrid native apps. Here’s two options to pass the device token from iOS to Rails
Raise On Developer Mistake
When is it appropriate to raise an exception? Here, I want to focus on just one aspect of that question: using exceptions to give feedback to future developers.
Migrating from Rails to Sails: Comparison and Implementation Guide
If you plan on migrating from Rails to Sails, first let’s compare their core concepts: from their background, down to their REST implementation. Read more
Improving Rails test helpers
A small trick about how you can improve a test helper that comes with Rails and save some time every day. Read more
capistrano-scm-gitcopy 0.1.5 release
Capsitrano 3 copy scm - tar your git branch and deploy to your server Read more
Unique partial indexes with PostgreSQL
Using unique partial indexes to avoid conditional duplication can save you a lot of effort when dealing with concurrency. Read more
[Screencast] Two Factor Authentication
Add multi factor authentication to your existing authentication solution. This gives your users the option to increase the level of security to their account and help prevent unauthorized access. https://www.driftingruby.com/episodes/two-factor-authentication
Search Kick Gem – To Make Your Search Intelligent On Rails App
Search kick Gem is a Ruby gem that runs on top of Elastic-search and makes it easy to make searches in a Rails-friendly fashion. In addition, it allows you to add more features including analytics, autocomplete, and personalized results.
Better File Uploads with Shrine: Motivation
This is the 1st part of a series of blog posts about Shrine. Before I go in depth explaining all of the cool things that you can do with Shrine, I wanted to first talk about the motivation behind creating it.
Sneakers Exponential Retry Handler
A Sneakers retry handler dealing with RabbitMQ job retries exponentially. Read more
Ruby’s Swiss Army Knife: The Enumerable Module
Ruby’s Enumerable module is capable of solving a variety of problems with precise, compact tools, which can make you a much better Ruby programmer. Read more
Assert Yourself - an Introduction to Minitest
A detailed introduction on Ruby’s built-in testing framework, Minitest. Read more
Rails Rumble is now Ruby Rampage & 2016 Registration is now Open!
After years of always being open to more than just Rails, we’ve officially renamed Rails Rumble as Ruby Rampage (check out our slick new retro arcade design!) and have opened registration for our 2016 event, which takes place October 22nd - 23rd. Come join us!
Architect Your App For Efficiency
My 3rd post in a series about being efficient to get more value for your time. This one touches on ways to be consistent in laying out and architecting your application so you, your team and clients can be extra productive. Read more