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.
Nickel extracts date, time, and message information from naturally worded text.
I just open sourced Nickel, the natural language parser that powers Natural Inputs. Install with ‘gem install nickel’. Source is on github. Enjoy!
Capybara, Selenium and SSL testing
Wrote a post about all these things and more. Also starring: nginx, database_cleaner and seed data.
LivingSocial acquires InfoEther (Kilmer, Fowler, Vanderburg et al.)
InfoEther is a popular Ruby and Rails consultancy and one of America’s first. Several well known Rubyists work there including Rich Kilmer, Chad Fowler, Tom Copeland and Bruce Williams. Today they’ve announced they’ve been acquired by ‘social commerce’ company LivingSocial. One heck of a recruitment drive!
Local gem documentation that doesn't need a server
I just updated Bdoc: a server-less local gem documentation browser that generates a single HTML file allowing you to easily browse and filter through the gem docs on your local machine. Bdoc isn’t new… but it’s been in desperate need of an update for a while… now it’s up-to-date. “gem install bdoc” now! Here’s what it looks like:
TorqueBox Benchmarked Against Other JRuby, MRI, & REE Servers
Round 2 of the TorqueBox benchmarks have been posted comparing how quickly TorqueBox, Trinidad, GlassFish, Passenger, Unicorn, and Thin can run Redmine.
rack-pygmentize
Howdy, I just released rack-pygmentize, it’s all about colourfying and awesomifying your code blocks in the middleware stack so you can just add the middleware and forget about it
Capybara roundup
I wrote up a summary of recent changes in and around Capybara.
Testing Rails 3 controller with Rack
A few words about testing Rails 3 controllers in full isolation, using Rack.
Keep Controllers Organized: The Shared Helper Method
I just launched an article that explains a method to keep your controllers organized. I’d really like to know how do you do the same thing!
Ruby beats Haskell (sometimes)
I just posted an article about why choosing the right algorithm choosing the right algorithm is usually more important that choosing the right programming language.
Translations management engine, with support for Redis and MongoDB
Inspired by recent railscasts episode, I just made a few changes to my translations engine, which was re-born with new home and name, with support for Redis, MongoDB and nicer UI out of the box. Testers and comments needed!
Sorcery v0.2.0 released - Twitter, Facebook, tutorials in wiki
Sorcery is my authentication gem, which is in the works for 2 months now. It’s main goal is to give an easy API for building custom authentication flows. This is version 0.2.0 of the gem which adds support for OAuth (currently twitter & facebook). Read more
Rails one-liner to get URLs from rake routes
Rake routes is a little wordy to send to someone who needs a list of the URLs your Rails app uses. So I created a bash one-liner to make my life easier.
Continuous deployment with whiskey_disk
Continuous deployment rocks. Whiskey_disk makes it super easy. Here’s how to set it up on your servers.
Try this ror app to catch your app errors in production, for ror and php
errorapp
Implementing an ActionView::Resolver in Rails 3
I had trouble finding an example of a Rails 3 view resolver the other day, so I wrote up a post with a sample implementation.
Reduce Paperclip Image sizes and Page Load times!!!
My company noticed the images paperclip created were not optimized. We Optimized the images with a paperclip post-processor and we reduced some of our image sizes by 85% without and visual problems. This has been a huge win for us. Check it out.
Some cool uses of Git-like hashes in Ruby (with Gibbler)
Cryptographic hashes neatly solve a lot of problems. I created Gibbler to make it easy to work with them in Ruby and wrote a bit about how I use it.
Generating SHTML with middleman
I just wrote about Generating SHTML with middleman
Building a Simple AJAX Website with Sinatra & jQuery (6 minutes)
We’ve just released the Building a Simple AJAX Website with Sinatra & jQuery screencast. To mark AJAX’s birthday on 18th March, we’ve put together a screencast to show you how to create your very own AJAX-updating countdown website for the big day. We use Sinatra and jQuery. We show you how to query Sinatra’s request object to disable layouts for XHR requests. Check it out.
OmniAuth 0.2.0 Released
Version 0.2.0 of the popular OmniAuth gem was released today, bringing a bevy of changes and new providers out of beta. For more info see the CHANGELOG.
Custom Captcha Questions
I just released a gem to include custom captcha questions in your Rails application: Gotcha on Github
Utilize Vi Keyboard Shortcuts in Your Terminal
Use vi keyboard shortcuts in irb.
Tuning Mysql/innodb with Rails
Ever deploy a rails application that seemed slow once it had real data in it? Ever tweak a few things in your my.cnf and it perked things up, but really didn’t know what the correct values should be? My blog entry on 4 Mysql settings you should tune and how to tune them might be just the performance prescription you need.
Previous week I launched a web page, htt...
Previous week I launched a web page, , which describes the Ruby object model, as of Ruby 1.9.