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.
Eager loading in Rails
Eager loading is a way to find objects of a certain class and a number of named associations. Here I share a post on using it with Rails. Check out: Eager loading in Rails
Battling Complexity in Ruby
New article by Coraline Ada Ehmke (@Bantik) on the challenge of battling complexity in Ruby and a new solution: Fukuzatsu.
Rails 4 is faster than Django 1.7 in creating a web app
I created a simple web app using Rails 4 and Django 1.7. Rails took less lines of code and commands than Django.
Silent scream of RubyMotion
As you probably already noticed we have one user that is constantly posting something about RubyMotion. Usually I have nothing against promotion of products on RubyFlow from time to time, but in this case we’re talking about posting 10 posts within just 30 days, which is on average post every second work-day. I would call it SPAM. [more inside]
Working with YAML Files - Codemy Screencast
We show you how to work with YAML files in Ruby ~ 13 minute video for beginners
Should You Learn RubyMotion or Swift?
A look at Swift’s future, whether it’s worth learning, and comparing and predicting it’s potential future, with RubyMotion’s past. A great read if you’re not sure where to focus your attention. [more inside]
Integration as Composition
I’m puzzling over the design for a worker and would appreciate your comments on it. I started with the pain of an ugly test, made an interesting refactoring, and decided to drop the test entirely, but I’m not at all sure this is the right decision.
Zero to Smoke Test with Sinatra (and Sequel and Pony and OmniAuth...)
Recently I added the first high-level test to a Sinatra app with no tests. This required a lot of initial setup, involving, among other things, RSpec, Rake::Test, Capybara, EmailSpec and Pony, mocking OmniAuth callbacks, and using DatabaseCleaner with Sequel. For the benefit of my future self and anyone else who needs to set up Sinatra for acceptance-level tests, I documented the whole process.
No More Ruby Videos on MetaCasts.tv
MetaCasts.tv will no longer be generating any more Ruby videos. Instead videos will be focused on Go instead. [more inside]
Tips for finding Rails resources at your level
There’s a lot of good, free Rails information around. But as you improve your development skills, it can be hard to find knowledge that’s useful to you. If it’s too basic, you’ll just read about things you already know. Too advanced, and your eyes glaze over and your brain shuts off. You can’t just type “intermediate-level Rails blogs” into Google and hope some good sites pop out. To get the information you’re looking for, you’re going to have to do some digging.
Teatro now supports GitLab repos
We’ve added support for GitLab repos in Teatro.io. So now GitHub and GitLab repositories are supported.
Gem to display the rails environment on the favicon
Recently I’ve created a neat little gem rails-env-favicon to use different favicon in development rails environment. It uses Tinycon - A small js library for manipulating the favicon. And maybe somebody will want to help in the implementation of middleware.
Introduction to loops with ruby continuations
I just wrote a simple introduction to ruby continuations, specifically using them in loops.
Introduction to loops with ruby continuations
I just wrote a simple introduction to ruby continuations, specifically using them in loops.
Keep track of complex models with Annotate
I just released a screencast called Keeping with Annotate that talks about how to use the Annotate gem to automatically comment attributes in your Rails models.
Seeding Database for Teatro staging
How to use SQL dumps for stages on Teatro http://blog.teatro.io/approaches-to-seeding-database-for-teatro-staging/
Ruby Queue Pop with Timeout
How to Ruby queue pop with timeout without using ruby Timeout, or running it in a separate thread and tossing in an exception when you want to stop.
Classes to Procs to Blocks
Blocks can sometimes lead to a mix of concerns when you’ve got a block bigger than a few lines. There is a way around this though, which I’m going to show you through in this episode. [more inside]
Inch CI - The first month
I recently launched a web service based on Inch and now I wrote about the first month of Inch CI. [more inside]
rack-dev-mark 0.6.0 Release!
I just released rack-dev-mark 0.6.0. Now you can see the deployment revision and time on the tooltip of the dev-mark as well as the environment name!
Delayed::Cron::Job released
Delayed::Cron::Job is an extension to Delayed::Job that allows you to set cron expressions for your jobs to run repeatedly.
Awesome Ruby
A collection of awesome Ruby libraries, tools, frameworks and software. Do you miss any interesting link or section? Check it here. The goal is to build a well-structured collection, up to date and community-driven.
Multiple Sidekiq processes for multiple Rails/Sinatra applications – namespacing
Blog post about Sidekiq. How to use it with multiple apps on the same server: Multiple Sidekiq processes for multiple Rails/Sinatra applications – namespacing
Kata 1.6.1 Released
Do you practice your ruby coding skills? Have you heard about code katas before? This popular gem has helped many improve their coding skills by solving the pain points around making code katas a regular habit. The new addition is that it now also supports Node and PHP. Have a look at the wiki for complete information on what the gem provides and how to use it to improve your ruby programming skills. Also check out the companion code katas project if you want to contribute.
Lita::Ext, extensions to improve development workflow with Lita
Lita::Ext is an opinionated collection of Lita extensions to make organizing and developing your chat bot easier. Check out the full announcement for details!