Rails Icon

Rails

Ruby on Rails (Rails) is a web application framework written in Ruby.
75 Stories
All Topics

Rails Icon rollbar.com

Top 10 errors from 1000+ Ruby on Rails projects (and how to avoid them)

Nice post by our friends at Rollbar: We looked at our database of thousands of projects and found the top 10 errors in Ruby on Rails projects. We’re going to show you what causes them and how to prevent them from happening. If you avoid these "gotchas," it'll make you a better developer. I know many of these like the back of my hand. 🤣...😭

read more...

Elixir Icon infinum.co

Things I wish ActiveRecord had after using Ecto

Great list, and I agree with many of Vladimir's points. However, I have to admit that Ecto's take on preloading still bugs me after years of use. I find myself doing the preload dance all over the place even when I'm well aware of the performance issues around N+1 queries. I thought I'd get used to it over time, but it still irks me every time I see an Ecto.Association.NotLoaded exception.

read more...

Mike Perham Avatar The Changelog #274

Faktory and the future of background jobs

Mike Perham is back for his 4th appearance to talk about his new project Faktory, a new background job system that's aiming to bring the best practices developed over the last five years in Sidekiq to every programming language. We catch up with Mike on the continued success and model of Sidekiq, the future of background jobs, his thoughts on RocksDB in Faktory vs BoltDB, Redis, or SQLite, how he plans to support Sidekiq for the next 10 years, and his thoughts on Faktory being a SaaS option in the future.

read more...

Sean Griffin Avatar The Changelog #270

Rails as a Day Job, Diesel on the Side with Sean Griffin

Sean Griffin joins the show to talk about doing Rails full-time, his love of Rust. and his project Diesel - a safe, extensible ORM and query builder for Rust. We discuss Sean’s path to working full-time on Rails, what he works on specifically, why Rust, why Diesel, and how much of Diesel’s design and featureset is a product of his experience with ActiveRecord and Rails.

read more...

Rails Icon changelog.com

CanCanCan picks up where CanCan left off

Ryan Bates' unfortunate burnout-induced hiatus from open source left his projects unmaintaned. CanCan — the much beloved authorization gem for Ruby on Rails — was no exception. CanCan may be dead, but long live CanCanCan! This repo is a continuation of the dead CanCan project. Our mission is to keep CanCan alive and moving forward, with maintenance fixes and new features. Pull Requests are welcome! This is what I love about open source. Great ideas aren't bound to their creators. All it takes is one person who cares enough to pick up the torch and run with it.

read more...

Rails Icon changelog.com

Rails 4.1 to get a Spring in its step

A lot of focus lately has been put on improving Rails' speed in dev mode. John Leighton's Spring gem is a result of some of that focus. It preloads your Rails application and keeps it running in the background so you don't need to boot it every time you run a test, rake task, or migration. As of this commit Spring will be installed by default on newly generated Rails 4.1 apps.

read more...
0:00 / 0:00