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.
csv_validator for Rails
I just launched csv_validator, A CSV Validator for Rails 3, which can validate row and columns counts, as well as certain column contents (such as making sure a specified column contains only valid email addresses or numbers).
Screencast crowdsourcing
For the Pry, Clojure, and Emacs experts out there, here’s an educational screencast wish list (and yada yada).
SmartProperties
A gem that simplifies the process of creating more feature-rich accessors: SmartProperties. Besides an extensive README, there is also a short presentation that describes the key features of SmartProperties. The presentation is available on Speaker Deck.
Rounded Corners With Ruby Motion
I just published a new blog post, Rounded Corners With Ruby Motion. Goes through two ways I found to create rounded corners one being easy but problematic and the other a little more difficult but gives a lot more control.
Chrome Networking: DNS Prefetch & TCP Preconnect
Network latency is anything but free. To address this, Chrome learns the network topology as you use it via a number of predictor heuristics. Let’s take a peek under the hood of the Chrome networking stack and see how this can be applied to building faster web apps.
ryodo 0.1.0.1 released
I released ryodo, a gem for parsing domains against the public suffix list. As far as I know this gem is a little bit faster than public_suffix (factor 10). Read more about the background, examples and the benchmark.
Heroku Isn't for Idiots: developer time and comparative advantage
Just found this great little post Heroku Isn’t for Idiots and wanted to share. Hits a lot of points on why the author likes using Heroku, and has a good bit of technical information on Dynos and what Heroku does in the background.
Request authentication from the router with devise
Devise is an awesome authentication engine for Ruby on Rails. There’s already a ton of resources about this topic, so this post won’t be a presentation about it but will show you one of its more useful feature.
Joosy, the rails-tied browser app framework
We created a new JS framework that doesn’t clone anything existing but uses slightly different approach. Joosy we call it. And it’s tied to Rails heavily.
Ruby Internals: Exec
This article explains how Ruby implements exec in C.
PrivatePub with logging and callbacks
I just launched my fork of private_pub with debugging and CoffeeScript version of assets. In TODO I want to add callbacks support after subscribing and unsubscribing feature.
Take the 2012 Ruby on Rails hosting survey
We ran a survey back in 2009 to gauge how the Rails community were managing their deployments… all the results were shared. Read more
Making Redis-store views cache work with simple Regexps
I’ve found a way to make Redis-store work with simple Regexps and also expire caches with wirdcard string (once that hit Redis Keys method). Check this out!
IProcess v2.1.0 released
IProcess v2.1.0 is a collection of Ruby classes you can use to transport Ruby objects between processes. It can be useful if you’d like to run CPU-heavy units of work in parallel or if you’d like to perform some risky work in a secluded subprocess. New feature: asynchronous API.
Sidekiq 2.0.0 released
Sidekiq is a simple but efficient background processor for Ruby and Rails. It’s meant to be Resque-compatible but far faster since many jobs execute in parallel. Version 2.0.0 adds scheduled jobs so you can say “send this email 3 days from now”.
Ruby vulnerability with RegExps
We just learned from http://habrahabr.ru/post/144139/ that a nice vulnerability was found in Ruby (Versions TBD soon). Read more
Code Reading Rack
Summary of the Rack Session in Code Reading group.
Conquering The Enterprise!
Enterprise software has been being bashed for years. I believe it’s time to change this attitude. Let’s think a little about what enterprise software is and if Ruby can be a good platform for building it. Read more…
The Ruby Standard Library is a Disgrace
The Ruby standard library is a disgrace. The Ruby community should have thrown it out a long time ago. It’s full of awful code — some of the worst Ruby code I have ever seen is in the standard library. Many of the APIs are horrible, and much of it was written almost as to be as slow as possible. Read more
Claws 1.2 Released
Claws is a command line based AWS (Amazon Web Services) console. Thanks to rapid community adoption a new release is already available. With this release you can connect to VPC hosts properly as well as specify an alternate ssh identity file to use. There is also a bug fix regarding initializing the configuration file. Check out a screenshot example of how it works along with other information on github.
Split 0.4.2 released
Split, the Rack Based AB testing framework, has just been updated to 0.4.2 and now supports v3.0 of the redis gem. Read more
Use Dependency Injections, Your Tests will Thank You
Doing Outside In development is important. You will be able to better design your classes when dealing with use cases or stories. Read whole article
Rails Tips part 1
I’ve recently wrote my first blog post. It’s some Rails Tips:
Manual Cropping with Paperclip
I just wrote a quick how-to about manual cropping with Paperclip, specifically, how to make manual cropping and automatic thumbnailing play nice.
Capistrano-helpers
If you’re using capistrano, you might find capistrano-helpers useful. See how we’re using it here!