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.
I wrote my first gem - CanBe - A twist on ActiveRecord STI
I wrote my first gem CanBe and a blog post with a little more rationale.
Cleaner specs with custom RSpec example groups
I just published a new article about the advantages of custom RSpec example groups and how they can help you to reduce duplication and test setup in your specs. After a short introduction the article illustrates how to customize example groups for certain specs using a practical example based on ActiveModel::Serializers.
DevPanel: A New Gem That Provides Page Render Times and Debugging Info In The Browser for Rails Apps
DevPanel was created after reading about StackOverflow developers having the ability to see page render times in browser, in an easy and convient manner. DevPanel is a small box that appears on your screen that shows all sorts of debugging info. See render times, including time spent in the view and controller as well as the number of partials that were rendered. It also shows which controller was called and which action was rendered which is useful when you are new to an app and it’s not clear what page is being loaded when you click through the app. Check it out!
Why I love DATA
I wrote up a blog post on what DATA is, and why I use it so often: http://caiustheory.com/why-i-love-data
Reversing ticket priorities on Fridays
Paul Ostazeski on our team recently realized that reversing ticket priorities on Fridays was a big productivity booster. Here’s why. Does your team knock small tasks out on Fridays or focus on big tasks as long as possible?
Asynchronous Processing in Web Apps, Part 2: Developers Need to Understand Message Queues
A few months ago I published an article about asynchronous processing and how a database is often not well-suited to the task. The article was well received by many other developers that recognize the important of understanding all the tools available in our toolbox for sound system architecture design. Today, I have published part two in my series which digs deep into the details of message queues, how they work, and which options exist today. I believe in the modern development world that every developer should understand message queues. If you at all interested in background processing, message queues and how to integrate them into your applications, please be sure to let me know what you think.
Building an Ember app with RailsAPI - Part 1
I’m writing a 2 part series on building your first EmberJS app with the RailsAPI gem. The first post goes into setting up your app for developing in Ember
SDRuby Presents: Fast
We live in a fast society, so why should our apps be any different? Richard Schneeman from Heroku demonstrates how to optimize your Rails app for speed and scalability – on both the front end and back end. [more inside]
RubyFlux – Statically Compile Ruby to Java
RubyFlux statically compiles Ruby into Java. It has awesome performance and runs everywhere Java does with no runtime dependencies, but it isn’t done yet. Here’s a brief introduction.
Know your closures: Ruby's blocks, procs, and lambdas
Anonymous functions (closures) are one of Ruby’s most powerful features, and this post explores Ruby’s three different flavors of closure – blocks, procs, and lambdas.
Get your test suite much faster by removing database_cleaner
Get that now! Check out the post here or the gist here [more inside]
Released Roar 0.11.5 With HAL Link Arrays and Representable 1.2.9 With Polymorphism Support!
The new Roar version now completely implements the HAL/JSON standard, including the long-awaited link arrays. Also, representer got some nice new features for polymorphism in your REST representations - check it out on my blog.
New presenter on the block
Tired of using those same presenter gems every time? Maybe the Resubject gem can refresh you thoughts about presenters :-)
Tealeaf Academy, an online school for developers
Tealeaf Academy is an online school for developers, focusing on Ruby on Rails. [more inside]
Kill your ActiveRecord observers!
Faster startup + Rails 4 ready + obvious dependencies + it’s easy = Kill ActiveRecord Observers
DismissibleHelpers: Help text your users can dismiss
I just released the dismissible_helpers gem. It allows you to add help text to your application which your users can remove
Announcing the Engine Yard Innovators Awards
Engine Yard is excited to announce the winners of the first ever Engine Yard Innovators Awards. Check out the winners here!
Call for Papers open!
Call for Papers for Magma Conf is now open! From January 4 to February 4 2013 submit your proposal here.
New to the blog
Hey everyone! I don’t want to spam the blog or anything but I’m an IT recruiter with Ruby related opportunities. Where would be the best place to unobtrusively connect with those looking for work? I won’t be on here too often to bother anyone but if there are any suggestions I’d be glad to hear them. You can easily reach me at my blog.
Installing Rails with MySQL on Windows 8
Here are my notes from Installing Rails with MySQL on a Windows 8 machine (ruby on windows? blasphemy!)
Securing the Rails session secret
In light of yesterday’s Rails SQL injection vulnerability, this article discusses how the Rails session secret can be secured in a better manner
Ruby graceful feature rollout and simple A/B testing
I just added docs for my awesome gem fluidfeatures. Please take a read and let me know how I could improve these docs.
Slim has a new home.
The Slim template language project has moved from my personal Github account to be a part of a new slim-template organization. [more inside]
Social Media Monitoring
We just increased capacity for our free test API for social media monitoring and sentiment analysis. I wrote a simple Gem to check it out. You find it at: Github Social Media Monitoring [more inside]