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.
libgrader: Find quality gems for your next project.
Libgrader helps you find documented, actively maintained gems. Similar to Ruby Toolbox and Awesome Ruby, libgrader can help you choose the right gems to integrate with by highlighting the gem’s license, dependencies, documentation, upkeep, activity, alternatives, and more. (Created by Aaron Lasseigne.)
Beautiful Ruby, convenient Rails
In this blog post I want to reflect on things which make Ruby a beautiful language to read and write, and on things which make Ruby on Rails a convenient tool to quickly prototype.
Why Ruby?
I love Ruby as a language, it makes a lot of things easier and the rest of things pleasant. I talk about some of those things in Why ruby?
Get started with the Sequel gem
I’ve published a screencast and article on using the awesome Sequel gem to work with databases. Enjoy!
Ruby & Rails Cool stuff & tips - S15E01
I just published some tips for Ruby & Rails.
What is Ruby DSL
An overview of DSL and some suggestions.
Introducing the Passenger Status Service for Heroku
The newly launched Passenger Status Service makes Passenger status reports (the passenger-status tool) work on Heroku. Read the announcement here.
Recursion in Ruby
Exploring different ways to solve problems recursively in Ruby: Sum, Map, Factorials, Fibonacci, Reduce, comparing iterative solutions to their recursive counterparts.
With so much Rails to learn, where do you start?
Have you seen the Rails Competency Chart? It’s frightening how much you have to know, but it’s accurate. If anything, it’s missing things. So how do you learn everything you need without having started 5 years ago?
The Secret Life of Your Database, Part 2: Join Tables
When it comes to databases, there’s two schools of thought: those who hate them, and those who love them. Databases can be complicated, especially when you try to query for data from different tables! This blog post explores the secret life of your database using join tables, and includes some cool SQL queries and diagrams to boot!
How to Use Capistrano to Deploy a Rails Application to a Puma Server
Setting up Capistrano to deploy your Rails app for the first time is usually challenging. This article walks you through the process of setting up Capistrano to deploy to a Puma web server. Puma is currently the recommended Ruby web server on Heroku.
Rails service oriented architecture alternative with components
When a Ruby on Rails application grows over the years it either rots in to a big ball of mud or it gets dissected in to services. What if there was another option?
Boldly refactoring complex code
Tomas Varneckas wrote a short blog post on how we refactor critical code paths at Vinted using scientist Ruby library by GitHub.
New kid on the block: Spina CMS
In the last couple of years we’ve developed a new Rails-based CMS we like to call Spina. We use it for most of our clients. We’ve open sourced it and are hoping some people will like it as well. We’re new to maintaining an open source project and would very much appreciate any feedback. Read more
Continuous deployment with Capistrano
Setting up continuous deployment with your own Capistrano setup might seem difficult. This blog post shows how you can automatically deploy your Rails apps using Capistrano and Codeship.
Why I loved the 2015 Railsconf Keynote
This year Rails 5 will be released and the Railsconf keynote held by DHH presents the rationale behind its latest developments. In the following I’ll show you why I think we are riding the good Rails and how to apply the right amount of criticism around the Rails’ author point of view. Read more
Torba: Bundler for Rails asset pipeline/Sprockets
Torba is a Bower-less asset manager for Sprockets. It makes a local copy of a JS/CSS library and puts it under Sprockets’ load path.
Procs and brackets
A short post focusing on a little known way to call procs.
How to set up and run Jekyll on cloud based coding platforms
Jekyll comes with a built in webserver to preview your blog before pushing it live. By default, it serves up at localhost. This is of course tricky if you are running Jekyll on a cloud based coding platform because localhost is the loopback address and by default, unavailable over the internet. How then do you preview your blog? Find out!
Idiosyncratic Ruby: Episode 21-24
Four short articles in the last four days: URI.regexp, No Garbage in Ruby, Ruby Alternatives, and goto fail;
On Rails 5, Presenters And Form Objects.
What is a presenter, what is a view model, and why is a form object more than a validator? I am as confused as you are but here’s some answers.
FiniteMachine 0.10.1 out!
Added ability to inherit state machine definitions to finite_machine.
Introducing Melodiest
Introduction about Melodiest, a Sinatra application boilerplate generator
Working with files and folders
Learn how to read & write files in Ruby. Fresh tutorial from blackbytes.info
Upload video files with progress bar using Rails, Paperclip and Javascript
Rails does not help much when dealing with AJAX uploads by means of external JS libraries. I recently came across a case where a developer was struggling to use JS to upload a video to a Rails backend. The main reason to use JS was to have a progress bar, something that is missing in the Rails world. In this blog post I’ll show you how to implement the functionality in the simplest case possible. Read more