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.
chef-handler-librato 1.1.4 released
I just released chef-handler-librato at version 1.1.4 with bug fixes. Send your chef metrics to Librato.
webhook-payload: Wrapper around Github's webhook payload for post receive hooks
webhook-payload: Allows you to take the data github gives you on a post receive hook and convert it into an object with a bunch of useful conversions from string to types like timestamps to Time and file paths to Pathname.
Maybelline: A maybe monad for ruby that doesn't suck.
Maybelline is a gem to add the maybe monad to ruby and allow you to write confident code.
Periscope: A gem for exposing your scopes to the world
Periscope makes it easy to chain your scopes from the query parameters on your index actions. Includes support for ActiveRecord, MongoMapper, Mongoid and DataMapper.
Introducing Amfetamine
REST api abstraction on steroids that makes shit go boom.
Heroku's Cedar Stack will kill your Resque workers
A quick how-to on keeping your Resque tasks working smoothly on Heroku from quickleft.com: heroku cedar resque workers
More from Ruby Under a Microscope
This is an eBook I’m writing this Summer about Ruby internals - no C programming required! Read more
extend self in ruby
This blog discusses extend self in ruby with some practical examples.
Where's Your Business Logic?
Start cleaning up your Rails apps by consolidating your use cases into their own objects.
Local variables - are they they new global variables?
Blog post discussing local variable usage in Ruby (or any OO lang), inspired by reading between the lines of the Refactoring book and validated through experience.
Internationalization in Rails app with Globalize3
A blogpost about internationalization and how to use Globalize 3 <a href=”http://www.synbioz.com/blog/2012/06/27/internationalization_with_globalize” rel=”nofollow” </a>.
Barkeep, the friendly code review system
Barkeep is a fast, fun way to review code. We’ve been hacking on it for about a year. See a video of it in action.
Parsing Netscape Bookmarks Files With Nokogiri
A short post explaining how to parse Netscape Bookmark Files with Nokogiri.
Build Reddit in Sinatra
A tutorial showing you how to build a Reddit-like application using the Sinatra framework. A previous post demonstrated a more condensed version.
Two sunny days at Rulu 2012
Rulu is a very nice conference in France and this year was another great success. This summary of the talks can show you a part of it and maybe will encourage you to come next year.
Drop-in User Avatar Solution for Rails Apps
We just launched a new service Avatars.io. It enables user avatars for your application. Read more
Slide Show (S9) Update - Quick Starter Templates, Takahashi Slide Break Shortcuts
What’s Slide Show? A gem that lets you author slides in plain text using a wiki-style markup language that’s easy-to-write and easy-to-read. – What’s new? 1) Added -q/--quick [MANIFEST] command that lets you use quick starter templates such as impress.js, deck.js, Slidy, or S5. 2) Added a --takahashi option that lets you use // between words or on its own line to break up slides. Cheers.
StackOverflow authentication using OmniAuth
I just released omniauth-stackexchange gem.
Table inheritance in PostgreSQL
Rails STI will be just fine for most cases. Anyway, for large databases, or when attributes vary a lot between models, using table inheritance could be very helpful. Using it with rails is really easy, learn how here.
to_str method in ruby
A blog on to_str method in ruby .
Open-sourcing Our Hosted IRC Gateway
Flowdock, the team collaboration tool from the authors of APIdock, open-sourced the EventMachine based hosted IRC gateway today.
Rails 4.0 Sneak Peek: Asynchronous ActionMailer
ActionMailer can now take advantage of the new queueing system in Rails 4.0
Databases & Rails: Week 3 Build HTML with Pure Ruby (no Rails)
Week 3 in my class series at the University of Texas, we’re building views with nothing but Ruby and the standard library. If you’re just getting started or you’ve been using Rails for years, come learn how Rails works some of it’s view Ruby magic. We cover building html, layouts, and serving dynamic content with a server (web brick).
Reddit in 10 Lines of Code
Tutorial showcasing some refactoring techniques and ruby tricks.
Get Rid of That Code Smell – Primitive Obsession
If you want to learn how Primitive Obsession code smell looks like in Ruby check out my latest post from “Get Rid of That Code Smell” series.