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 allows wildcard for specifying template dependencies for cache digests
We can now use wildcard for adding all template dependencies from a directory rather than adding files one by one for cache digests. Read more
Why / How I Learn New Technology - Lab Report [001]
In the first episode of the lab report I show you the research I’ve been working on for the past month. I dig into why I do research and how I develop solutions from my research. As an example I will show you the solution I built using React / Webpack / Javascript, to solve a problem I have on Codemy.
Blogging with Markdown, Dropbox and Rails
The story & tech stack behind the new version of my site
My Rails Models Are Bloated. Should I Use Concerns?
This is a question that I’ve seen asked a couple of times: My Rails Models Are Bloated. Should I Use Concerns? Read more
Testing Rails Applications
A roadmap for testing rails applications
dry-rb.org - Introducing dry-system
Learn about a new way of organizing application’s code with the new release of dry-system. See the official announcement!
[Screencast] FullCalendar Events and Scheduling
Learn how to incorporate FullCalendar into your Ruby on Rails application with listing and creating events. Using unobtrusive javascript, we can create a fast interactive calendar. https://www.driftingruby.com/episodes/fullcalendar-events-and-scheduling
Creating a trashing concern in rails 5
Softly destroy records across multiple models from a single concern
Rails Composer Introduction
This week’s screencast from Fullstack Videos shows how to use Rails Composer. Rails Composer is a popular tool for generating starter applications.
Rails and Webpack: No Gem Required
Integrating Rails with Node.js-based asset pipeline doesn’t mean you have to use another gem to connect these components. In the post, I share some approaches and helpers that helped me integrate Webpack into existing Rails app and smoothly deploy the assets to Heroku.
The Upgrade Trails
Tales from multi-year Rails upgrades at Code School, sprinkled with bits of hindsight.
PostgreSQL and Rails
PostgreSQL and Rails shows some features that make this combination so powerful.
Advanced SQL in Rails - Part 2
I wrote a blog post recently covering advanced SQL functions like windows and views. In the follow-up, I discuss how to integrate those into Rails. Read more
Intro to Avro with ruby
This post is an introduction to using Avro in Ruby.
How to implement image uploader to TinyMCE
Easy way to implement image uploader to TinyMCE
Hacking hierarchical joins into Spreadsheets, Rails Style
I got frustrated that spreadsheets don’t support easy ActiveRecord-style joins, so I hacked belongs_to and has_one support into my startup’s spreadsheet API. Here’s the writeup
Looking for a Ruby Medium API client?
I was looking for a Ruby Medium API client but wasn’t convinced by the existing options so I wrote my own.
Ruby Returns Incorrect Integer Or Decimal Places When Dividing Two Numbers
An article on the quirks of Integer, Float, and Decimal math in Ruby and why Decimals are important.
Rails Screencasts
Enjoy the free episodes on iTunes Rails Screencast
How to Test Rails Models with Minitest
Learn how to test the main aspects of Ruby on Rails models with the Minitest testing suite.
Read Along With Ruby Book Club
Ruby Book Club is a weekly podcast for people who like to read Ruby and OOP books. In April, May and July they read “Confident Ruby” by Avdi Grimm (find it in the archives), now they’ve started the brand new http://99bottlesbook.com/ by Sandi Metz and Katrina Owen. I’ve read along from the beginning and enjoyed the regular reading schedule, the discussions and the fun - and I’ve got much more out of the books than on my own. Want to join in? Find it at http://rubybookclub.com
Build Your Own Web Server
Have your ever built your own web server? It’s not that hard, you can learn how to do it (using Ruby) in this post!
How to remove Action Cable from a Rails app
This is your complete guide to removing Action Cable from a Rails 5 application
Bundling dependencies inside Ruby gems
Here is a new article about how (and why) I now include all of Brakeman’s dependencies inside of the main “brakeman” gem.