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.
Released multi_markdown 0.1.0.pre1
Just pushed a pre-release of multi_markdown, feedback welcomed. multi_markdown allows projects to use a wide variety of Markdown libraries, without having to depend on a specific one. AKA multi_json for markdown. Please stop explicitly depending on rdiscount or redcarpet, try multi_markdown instead.
Going to write a book called "Composing Ruby"
Ruby is one of the most richly object oriented programming languages that has ever existed. However, nearly two decades of programmers working in Ruby as if it were a foreign language has prevented us from unlocking its true potential. [more inside]
Live Training: Rails Fundamentals Workshop
Rails is hard to learn. There are a lot of different overlapping tools, the opinionated perspective requires you to understand a number of acronym-ized concepts, and even the intro screencasts don’t answer if you ask them a question. [more inside]
My Campaign to Stop Bad Rails Code
We’ve all been there, walking into a code base which stinks to high heaven. There’s a few solutions to help prevent this, one of which I detail in My Campaign to Stop Bad Rails Code. The first step I recommend is reserving a spot for our free weekend on Code School. Maybe playing some Rails Best Practices or Rails Testing for Zombies.
First version of CarrierWave::Processing has been released
Just released version 0.0.1 of carrierwave-processing gem. It includes processors that I’ve been using in multiple projects for a while: “quality” processor (allows to set JPEG/MIFF/PNG compression level) and “strip” (strips image of all profiles and comments). Check out it’s source code and feel free to add more useful processors you use frequently.
Kata 1.3.1 Released
Katas are well known in the ruby community as a great way to practice the language. The kata gem provides facilities to make the practice easier. Writing a kata is as easy as writing an rspec test while taking it is a step by step process with github integration baked in. With this release kata supports other languages besides ruby and it commits to your git repo after completing a requirement during a practice session. Check it out and have a look at the code katas project for some samples to test yourself against!
Namespace-less Engines
We’ve been looking for ways to re-use code between multiple projects, and have come up with a an Engine setup that is easily separated and easy to override in your project. My friend wrote a nice example and tutorial.
Announcing Database-less Environments
At <a href=engineyard.com”>Engine Yard</a>, we believe that you should have the flexibility to set up your environments and manage your data stores as you see fit. This is something we take seriously as we continue to evolve Engine Yard Cloud and today, we are happy to announce database-less environments as an alpha release. If you need to utilize data offerings outside of our natively supported MySQL or PostgreSQL, then this feature will enable you to do so. Check out more <a href=” rel=”nofollow” http://www.engineyard.com/blog/2012/announcing-database-less-env/”>here</a>.
SheetMapper: Ruby Object Mapper for Google Spreadsheets
Just released version 0.0.1 of SheetMapper which supports mapping google spreadsheet rows into ruby objects. The use case is for easily parsing and traversing spreadsheet data in which rows can be represented as objects.
MaxMind support for Geocoder gem
We’ve added Maxmind support to geocoder! You can see the pull-request and more details here.
Devise 2.1.0 version has been released
With some deprecated features removed, bug fixes and a few features, Devise 2.1.0 has been released. Checkout the blog post about the release.
Announcing devise-async - Devise emails in background
I just released devise-async. It provides an easy (and hack-free) way to configure Devise to send notification emails in background using your preferred queueing backend. Currently supports Resque, Sidekiq and Delayed::Job.
Introducing resque-brokered
Out of a need for some more smarts for resque when it comes to picking up jobs from queues, resque-brokered was born. Currently it allows you to limit queues so that only one job is active from each queue at any time, but there’s more to come.
Logbook - log your memories onto virtual logbooks made of Gists
Just pushed logbook. A personal CLI app that helps you log your memories onto virtual logbooks made of Gists.
Virtualize your development environments with Vagrant & Puppet
This presentation shows how to use Vagrant & Puppet to easily provision virtual machines that can be used as development environments for your Rails projects. You’ll keep your development machine fast, your environments isolated, and any developer will be able to get up and running on a new project in less than 5 minutes. [more inside]
Our lovely Git workflow and code review setup
I posted our Git development workflow before reading Linus’ complaints about GitHub pull requests, but it led me to think it might be of more interest to small Ruby teams who had read that.
Yell v0.10.0 is out
Yell - Your Extensible Logging Library v0.10.0 has landed. New features include performance tweaks, thread-safety, a better DSL to writing own adapters and configuration from YAML files. [more inside]
How to deliver your static images through a CDN in Ruby on Rails
This blog post describes how to use Cloudinary to automatically deliver all static images of your Ruby on Rails web application through a CDN. Allowing you to improve site’s performance without any code changes. [more inside]
Pocket RubyGems - an iOS app to watch Ruby Gems
A new iOS app Pocket RubyGems has been just released. It allows you to view or search Ruby Gems and see authors, dependencies, project details and more. [more inside]
[video] Ruby for the soul of Big Data nerds - RubyConf India 2012
I just saw this RubyConf India Talk video talking about ruby tools in BigData.
Continuous Bloom Filter
Blog post about the Continuous Bloom Filter for unbounded data streams with Ruby implementation and Ruby gem
Rails 3, Ruby 1.9.3, MySQL2 & Win7
A technical note about combining Rails 3, MySQL and a Windows OS without any trouble. Especially a detailed solution about this common error: “Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.5.16.”