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.
Reform 1.0 – Form Objects For Ruby And Rails
The Reform gem turned 1.0! Its popular form objects have been simplified , the public API reduced and new features like automatic populating have been added. The new exciting Reform::Contract layer helps you decoupling persistance from validations - for good! Read the blog post here!
Guarding with arrays
A simple code pattern to help clean up your code
Lita 3.2 released, with new extension plugins
Version 3.2 of Lita, the programmable Ruby chat bot, has been released. There are several additions in this new version, most notably a new type of plugin, extensions, which can hook into Lita’s core to provide new features for other plugins.
Stop and Restart Easily a Rails Server
I wished if I could have convenient rails start, rails stop and rails restart commands to help me in the workflow. And in UNIX it is very easy to get.
Using the Cassandra Binary Protocol (CQL3) from Ruby!
Using Cassandra? Theo Hultberg’s Ruby client is worth a second look. Read more
Vim for Rubyist: 10 Useful Vim Plugins for Ruby Developer
I’ve made a list of vim plugins for better development with ruby.
ActiveInteraction 1.2.0 Released
ActiveInteraction helps clean up your Rails app with interactions that quack like ActiveModels. This latest release includes much improved form support, a decimal input filter, and support for modifying or disabling transactions.
Ninefold CLI Gem 1.5.0 Released - Now with db backup support
Ninefold gem to version 1.5.0. This updated release includes couple of new commands related to managing your database backups all from the command line. Learn more here:
Proposal for a better Hash#include?
In the interest of making life easier for other Ruby developers (and myself, of course) I’ve written down a proposal for a better Hash#include? that would allow us to easily compare hashes with other hash in order to see if they contain a sub-set of one another. Read more
Gourmet Service Objects
I just wrote a blog post about Gourmet Service Object. Service Objects contains the business logic of your Rails app while keeping your controllers and models really thin. I’ve been using this pattern™ for about 3 years now, it helps me deliver clean, expressive and reusable code that’s easy to test.
Toro: Concurrent, extensible job queueing with PostgreSQL
Toro (similar to Sidekiq or Resque) runs on PostgreSQL and focuses on concurrency, visibility, extensibility, and durability. It lets you easily set custom, queryable properties about each job when it runs, lets you quickly surface detailed data about any jobs or types of jobs, and much more.
Configuring RSpec
After writing an RSpec Tutorial, I released the RailsApps Testing gem which sets up the testing framework by tweaking a few configuration files for popular gems.
ITTIA DB SQL Advances In-Memory Data Management for Embedded Systems
ITTIA DB SQL provides high-performance capabilities to retrieve data from very large in-memory storage (100 million+ records.) This technology is used in applications to find specific details in a very large data set and perform complex queries in seconds. This is especially beneficial for critical decision-makers that need to access sensitive information in real time.
How I Used ActiveRecord#serialize with a Custom Data Type
I just wrote about using ActiveRecord#serialize with a custom data type. Read how here.
7 Screencasts on advanced Rake usage
I just published a blog post with my 7-episode series on advanced Rake features all in once place.
Passing LISPy Code As data in Ruby
LISP is essentially boiled down into this for the Rubyist: you have lists, which can contain not just data, but code (functions), and to do that, sometimes a function can become a piece of data, be added to a list, queried as code again when the time calls for it. All in a lazy manner. Let me try to illustrate this for you in Ruby. Read more
Expanded DB support for Ninefold's Rails app deployment: MySQL & MongoDB
We are happy to announce that you can now leverage our easy app deployment with your own MySQL and MongoDB servers! Learn more here: .
After RailsConf: Should I Still Learn TDD?
I’ve written a lot about TDD. So, it’s no surprise that when I published my last article at almost the exact minute David Heinemeier Hansson mentioned TDD during his RailsConf keynote, I got some questions: Do you agree with DHH’s opinions on TDD? Do you still recommend TDD? If not, what should I do instead?
Add to a Mailchimp list using Gibbon in Ruby
I love Mailchimp and has recently started loving Gibbon too. I use it to add people to my Mailchimp lists.
Analytics System with Redis Part 2
We show you how to be the data collection using redis INCR and SETS Video / Article
OpenSource: Finally add LIKE button to your Spree store
Hey! We’ve just released an open source RoR-based extension allowing you to add a LIKE/FAV button to your Spree store. Feel free to grab one!
Analytics System with Redis Part 1
I just launched and yada yada. Read more
FiniteMachine 0.5.0 release!
The finite_machine gem has received more updates including asynchronous callbacks. Please check it out!
Building contextual menu in rails
Contextual menu are in almost every project. Here, I discuss about a technique that I am using that leverages content_for and yield. If you’ve never heard of it before, come and have a read. It’s going to be worth it. Read more
eurucamp Early Bird tickets available today!
eurucamp Early Bird tickets will go on sale at 6pm CEST at tickets.eurucamp.org (that’s 12noon EDT, 9am PDT if you’re in the U.S.). See our blog article for prices and all the details.