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.
A review of The Rails 3 way
I just published a review of the rails 3 way.
Why Chef Should Manage Deploying Your Application
Curt Micol discusses Why Chef Should Manage Deploying Your Application as a follow-up post to his earlier Why Puppet Should Manage Your Infrastructure article.
scout_api gem released: query your time series data
We just released the scout_api gem to query metrics stored on Scout. An example: Scout::Server.first(:name => "Web Server").metrics.maximum(:name => 'Memory Used')
state_machine 1.0 release party May 12 in Cambridge
Join me Thursday, May 12 at the Asgard Irish Pub & Restaurant in Cambridge, MA at 7:30pm or later to celebrate the upcoming release of state_machine 1.0. Come by, say hello, and let me buy you a drink (or two)!
Configuring Rails 3(.1) to use HTTPS
Rails 3.1 allows you to force HTTPS with a one-line configuration. I just posted an article about configuring Rails 3.x and 3.1 with HTTPS.
Rails 3.1 beta1 Released
The first beta release of Rails 3.1 is now available - go check it out!
RubyGems 1.8 Released (and what this means for you)
Eric Hodel has unveiled RubyGems 1.8.0 and Ryan Davis has written an interesting post about what that means to all of us. In short, lots of deprecations and a call to report more bugs instead of whining about them.
Presenters As A Solution To as_json Woes In Rails APIs
A quick brain dump on how the presenter pattern might be an acceptable solution to the pitfalls of using as_json in versioned Rails APIs.
Zero-config reverse proxies: let's get there!
State of art for reverse proxies (nginx, haproxy, etc), is terrible: need to add a new appserver? Modify the config, reload - ugh. An experiment with Goliath, SPDY and 0MQ to build a zero-config reverse proxy.
ripper-plus: How Ripper Must Change
Ripper has some fundamental flaws; we identify them, illustrate their dangers, and provide an intermediate solution (the ripper-plus gem) until they are addressed in Ruby’s trunk.
Introducing the Large Hadron Migrator
Migrating with millions of records: Introducing the Large Hadron Migrator.
Exceptional Ruby (PDF e-book) now available
I just released Exceptional Ruby, an eBook about exceptions and failure handling in Ruby.
split route namespaces into different files
I just wrote a post split route namespaces into different files, it makes your routes much easier to maintain.
Linguistic Analysis with Lingua
In which I work through how I ran some readability stats over my blog using the Lingua gem.
voteable_mongoid renamed to voteable_mongo, supports MongoMapper
Visit voteable_mongo for more details. There are benchmarks that compare performance of various SQL v.s MongoDB implementations on up / down voting.
Ruby bindings for Chipmunk Game Physics 5.3.4
Chipmunk is a 2d game physics library. I’ve finally gotten around to updating the Ruby bindings of Chipmunk to version 5.3.4. The bindings are documented and have ample specs, and gems as well as native gems for windows are available on rubygems.org. So if you’re into game programming with Ruby, give Chipmunk a spin.
Good Bye Slicehost
Slicehost was one of the first to actually come out and challenge the rules of the “all you can eat” hosting providers by offering a concise and very well focused product, for developers. We’ll miss The Slicehost, here’s a tribute to them</a>
Organise Your Models
As a Rails project matures its code base may increase in complexity. We walk through how we organise our model code to be more readable, maintainable and easier to test.
Code With Me experiment continues!
After last week’s first couple of sessions, I’ve decided to continue the Code With Me experiment. Check out the blog post if you’re interested in working with me for free. I’ve also included summaries of the first session in the post for you to check out.
Aspect4r 0.9.1 is released
Aspect4r is a gem that makes it easy to do Aspect Oriented Programming in Ruby. It adds before/before_filter/after/around to a class or module, is very easy to use and thoroughly tested. Everyone is welcomed to check it out.
Starting rails server inside rails console
There is a short code snippet to do it. The purpose is to reduce count of open Terminal tabs.
Ruby or Python? Well, it depends...
A friendly(flame-free) comparison of two of the best dynamic languages Ruby and Python.
Searching Stackoverflow RSS with ElasticSearch and Tire
If you'd like to check out how easy is to put stuff into ElasticSearch with the Tire gem and search it, run ruby elasticoverflow.rb from the following gist. Read more
reverse SSH tunnel any rack app with pow and nginx
We show how to use thor, pow, nginx and a reverse SSH tunnel to simplify the process of showing a public demo of any app on your local machine
Allowing Multiple Users to Use The Pivotal Tracker Gem
New Blog Post: Allowing Multiple Users to Use The Pivotal Tracker Gem by Aaron Todd.