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.
PageObject + SimpleDelegator = Awesome Capybara Helpers
I recently discovered how to call Capybara/RSpec/Rails test helpers from a Page Object class without having to include all those test helper modules. Best of all, the solution is already part of the Ruby standard library. Check it out here.
Wicked Good Ruby Conf in Boston Speaker List Announced!
Oct 12 - 13 we have just announced the 26 speakers we will have over two days. Join us in Boston!
Middleman on Heroku - 2013 edition
Middleman is a nice, Rack-based, static site generator, but getting up and running on Heroku in a way that doesn’t suck is a bit of a black art. [more inside]
Moving from tumblr to a custom blog in rails
In this age of tumblr, medium, and roon a group took the time to write a custom blog engine. Read why they wrote a blog.
Pulsar: a Capistrano configuration manager
Pulsar is a command line configuration manager for Capistrano. It stores all your server and recipe configurations inside a repository which uses to run Capistrano.
Searching Blog Post In Refinery Cms
I wrote small post with snippet for searching articles using category,tags,title and content in refinery cms blog engine
Pkgr, make a package out of a Rails app in 5 minutes
Pkgr is a high-level tool that turns Rails applications into native Debian packages. Unlike fpm and omnibus, which are generic tools mostly used for packaging system software, pkgr is specialized in Rails applications. Read more: https://discuss.gemnasium.com/t/pkgr-make-a-package-out-of-a-rails-app-in-5-minutes/59
rails_best_practices 1.14.0 released
I just released rails_best_practices 1.14.0, adding default_scope is evil check, see more here.
Implement Subdomain & Custom Domain in Rails 3
I recently build a Markdown Blogging Platform : Logdown . [more inside]
Cached Resource 3.0.0
Recently released version 3.0.0 of Cached Resource, which enables request-based caching for ActiveResource. Now supports Rails 4 and fixes some issues with collection caching.
Exception Details gem-extends Exception to show variable values when exception was raised.
I just released a new gem, Exception Details. Exception Details extends all exception objects with methods to inspect variable values from the binding at the moment of the Exception’s creation. Usually this will give you enough info to fix bugs without having to rerun with added debug code.
Translatable errors for ActiveModel
Gist with 50-LoC Translatable module for smarter validation errors/decoupling from strings: Translatable
I'm looking for help with redis-store
Redis Store is a successful OSS project, it aims to be a multi-purpose toolkit for Ruby and for the most popular web frameworks. [more inside]
How to support WebP images, save bandwidth and improve user performance
This blog post shows the advantages of the WebP format over JPG and PNG and describes how you can automatically convert all your images to WebP of any quality. A dynamic-loading technique with on-the-fly image generation using jQuery is also explained. Ruby on Rails code samples are included.
Spring cleanup for object creation in Rails
A blog post how to refactor controller cluttered by a complex object creation in Ruby on Rails.
A ruby gem for nginx mod_zip support
We just launched ngzip, a ruby gem to support nginx’ mod_zip for on-the-fly zip archive generation and streaming support. Feedback welcome - check it out on https://github.com/cargoserver/ngzip.
Shoes 4 - a progress report
You might remember shoes, the GUI tollkit for Ruby, and probably sadly think that it’s dead. It totally is not. I’ve written a little report about shoes4 and its current progress - go check it out!
Creating a Ruby script to scale Heroku workers
If you need to programmatically scale Heroku workers to handle different loads during the day, here is a great article that details how to do just that.
ClientSideValidations is looking for a maintainer!
I am no longer using the ClientSideValidations gem but I realize others still are. I would like to find someone that can take over development and releases for the gem as well as the plugins. Please tweet me if interested: @bcardarella
8 things forgotten for our rails SaaS launch
Wrote up a quick post on a few things we forgot when launching our SaaS, hopefully it will help others :)
Grab the literally last So Coded Early Bird ticket
The So Coded indie web developer conference taking place in Hamburg, Germany on September 19th and 20th has one remaining early bird ticket on sale for 210€. Be awesome, join us in Hamburg and save 50€ :) [more inside]
Autoprefixer 0.6 is several times faster than Compass
Compass has slow development and not best perfomance. If you use it only for CSS3 vendor prefixes and images you can speed up your Sass compiling by Autoprefixer and rails-sass-images.
Ruby Pattern: webservice based object
I’ve wrote a blog post about a common pattern on application a webservice based class, that I came across several times while writing applications that make heavy usage of webservices.