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.
DCI that respects the method cache
We’ve been talking about DCI (Data Context Integration) more lately with regard to Rails. However, the techniques presented to date have not necessarily been optimal for Ruby performance, dissuading some people from taking up DCI. This article may shed some light on a super-simple way to have our cake and eat it too.
Open-Source RubyFlow codebase upgraded to Rails 3.1
I upgraded Peter Cooper’s 2008 release of the RubyFlow codebase to Rails 3.1, and made many other modifications. Check out a working implementation on my new site: iOS Dev Links. The source code is available on GitHub.
Twitter Authentication using OmniAuth
I just found a gem which worked with OmniAuth and twitter .
Practicing Ruby Journal: Three months in and still going strong
To celebrate the fact that it’s been a full quarter of a year since I relaunched my subscription based weekly journal Practicing Ruby, I have publicly released our three most popular articles. In that same post I’ve made an attempt at explaining what makes this project a unique learning resource / experiment in social responsibility.
Ask your Ruby-related questions to these experts
RubyLearning is assembling experts in various areas of Ruby programming who will answer your questions as an “Ask An Expert” series of blog posts there. Post your questions as comments to that blog post.
Projit - a clean ~/ keeps a development environment together
Projit is a utility to specify directory structures for the different types of projects you work on and consistently generate them. It very nicely supports creating directories and files, copying directories and files, symlinking to Dropbox and cloning source code directly from any git repository. In other words, Projit brings the goodness of Thor generators to help automate your development environment. Check it out on Github
Ruby GitHub Projects Atom Feed
I wrote a little program that generates an Atom feed out of GitHub’s new Ruby repos page.
Rails Caching Reloaded
Various rails cache store options are evaluated Hit/Miss performance is compared between file_store, mem_cache_store, dalli_store, redis_store and mongo_store.
Using Jenkins with RVM and Rails
I just published an article on using Jenkins with RVM and Rails. It also includes details on using RSpec and Cucumber HTML formatters and serving up the output in Jenkins, instead of digging through the console output
gem Emailvision
Whether you are a ruby user or a rails user, this gem is definitely for you if you work with Emailvision. Website. Emailvision is an email marketing platform where you can manage your campaigns, event emails (birthday, subscriptions, …), and even transactional emails (password forgotten and so on)
postbin v0.1.0
I just released the initial version of PostBin (still a little rough round the edges). Read more
resque-retry v0.2.1
I’ve just released v0.2.1 of resque-retry. Please see the HISTORY.md file for details about what’s changed. Big thanks to the users of resque-retry, they are the people who made this release possible with their pull requests and bug fixes! Well done!
Github flavored markdown in your YARD documentation
Are use getting used to the Github flavored Markdown and would like to use it in your generated YARD documentation? Find out how you can do it in two easy steps!
Build your own Vagrant box ready to use with chef-solo using Veewee
I released the first screencast in NepalonRails on How to build your own Vagrant box ready to use with chef-solo using Veewee. The goal is to cut the bandwidth to download the box everytime and show you how to build your own box with bells and whistles.
Faye 0.7: new event APIs and an open WebSocket stack
The latest release of Faye adds a few new event hooks, and ships with a stand-alone WebSocket client/server implementation that makes adding WebSockets to any Rack app dead simple.
Unobtrusive object deletion in Rails, the easy way
Out of the box, Rails requires a HTTP DELETE request to process object deletion, but this requires JavaScript or a form, which isn’t ideal. A few simple changes can improve this situation, for the concise solution continue reading unobtrusive object deletion in Rails…
rack_mailer - A form mailer for any rack compatible webapp
rack_mailer provide a simple drop-in ability to send data posted to a form to an e-mail address with minimal configuration. Can send an auto-responder, provide basic spam protection and built on the mail gem.
sendgrowl (sendmail via Growl)
sendgrowl is a simple Bash script for Mac OS X which redirects sendmail to Growl. Messages piped to the sendmail binary are displayed as Growl notifications instead and - when clicked - the entire message is opened in a Quick Look preview window. Quite useful for Cron output and - to some degree - for developing Rails apps which send mails.
Cut & Polish: A Guide to Crafting Gems
As part of the RubyC conference in Kyiv, I spoke about how to build and publish gems, along with best practices for doing so. I focused on building gems from scratch - not via Jeweler, Hoe, etc - so people can understand every part of the puzzle. Both the video recording and slides are available via my blog, should this take your fancy.
twitter bootstrap on rails
I’ve just published twitter bootstrap on rails.
Acceptance Testing with Responsive Layouts
How to resize the browser window for your Capybara/Selenium tests if your website has a responsive layout: Acceptance Testing with Responsive Layouts.
Amazon Cloudfront CDN on Rails
A concise guide on how to setup your Rails app with Amazon’s CloudFront CDN - it’s a great way to provide better front-end performance and with the asset pipeline, it’s really not that difficult to implement!
MiniRecord And Timestamps
How to add timestamps to your ActiveRecord models when using MiniRecord
Visualize your rails partials in a tree
I just launched an easy rails plugin that lets you make a ascii or html tree of all your partials. Great for refactoring!
Literate programming with Github and Markdown
As a developer using Github, we often find ourselves browsing other people’s code. Sometimes it’s out of curiosity, sometimes it’s because we need to make a maintenance task, but in either case, it’s something valuable because peer review is a fantastic way to gain experience. more