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.
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. [more inside]
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.
Convert from Gettext to I18n Simple Backend
New Plugin to convert from Gettext to I18n Simple Backend
Using Graylog2 To Track Business Events In Rails Via Log4r
Blogged about a use case efficiently solved with graylog2 check it out here.
Ruby 1.9.2 generally available (at Engine Yard), generally awesome
Dr. Nic announces the availability of Ruby 1.9.2. He also covers how to upgrade, and how to request access to try Rubinius on AppCloud in Alpha.
Podcast Interview with Ron Evans (@deadprogram)
Ron Evans talks about Kids Ruby, parallels between music and programming, and the Music Jam he’s working on for RailsConf.
A voting extension from scratch for Rails 3 (Part 4)
Finally part 4 of the blog series about developing the MakeVoteable Rails 3 extension. This time models and migrations.