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.
What to Expect in JRuby 1.4
JRuby Core Team member Nick Sieger posts about what’s coming in JRuby 1.4.
Request Log Analyzer + Scout = Lightweight & Rich Rails Monitoring
With just the path to a Rails log file, Scout now provides analysis of your production Rails Application via the excellent Request Log Analyzer, written by Willem van Bergen and Bart ten Brinke. Get reports of most used actions, most expensive actions, breakdowns by database time, view rendering time, etc. Combined with Scout’s plugin system, graphs, and email alerts, you can get a comprehensive view of your production environment. See more info on Rails monitoring with Scout + Request Log Analyzer.
GIS on Rails
Just wrote a blog post on building a GeoDjango-style web GIS stack using Rails.
Ruby and RFID tags
I wrote a new blurg post about reading RFID tags using Ruby. Check it out!
Upcoming changes in Radiant CMS AdminUI
I’m covering some functional changes in Radiant edge in this blog post: http://www.saturnflyer.com/blog/jim/2009/09/19/changes-in-radiant-adminui-for-0-8-1/ It covers the changes of managing admin navigation for extensions.
NeverBlock & Arabesque @ RubyKaigi
My RubyKaigi 2009 Presentations can be found here.
Flexible Continuous Testing; An Alternative to Autotest
Watchr is a new continuous testing tool intended to be highly flexible and agnostic to web frameworks, test frameworks, ruby interpreters and packaging tools. It is even built on an evented backend for improved performance. Read more at http://mynyml.com/ruby/flexible-continuous-testing
CloudCrowd gets Nodes, Work Distribution Based on Server Load
CloudCrowd has had a big week, going to 0.2.1 this morning. The job processing now uses persistent nodes (one node per machine), and ephemeral workers. Your jobs should start faster and your actions should be incapable of leaking memory. 0.2.1 also brings the ability to distribute work based on load average and available memory. Here’s a screenshot.
Improving Tag Ownership in acts_as_taggable_on
acts_as_taggable_on is a great plugin with some useful feature hooks like user-owned tagging. I’ve extended the tag owner hooks with a few finder methods to traverse tagger relationships, and squashed a crucial bug that rejects valid owner taggings.
Lessons Learned in Large Computations with Ruby
In the second post describing my experience with the GitHub contest, I look at problems I encountered with MRI, YARV, & JRuby and why I ended up rewriting in Java.
Rails Envy Podcast - Episode 92
Rails Envy podcast episode 92 is out with co-hosts Jason Seifer and Dan Benjamin. Kanye West was, unfortunately, unable to make it (too busy watching the Single Ladies video on repeat).
Are you ready for international speak like a pirate day?
Suprised you didn’t I, is it that time of year already? My how it creeps on you… You’re in luck there is still time to and now a Ruby Pirate Speak Gem to help get your site converted for Saturday.
5 Things You'll Love About Rubinius
Brian Ford walks us through some of the cool parts of Rubinius, in this post about Rubinius as your college roommate.
Using Nginx + Passenger as your development environment
Passenger (modrails) is like a household name, but for too long has Apache held the title as the web server of choice. Welcome to Nginx, a small footprint super fast web server for all situations, including development.
A new screencast from BDDCasts
The Brandizzle series continues with Episode 5 - The REST of Brand. This episode finishes out the remaining RESTful actions for the Brand resource following the red-green cycle, and introduces you to the remarkable_rails gem.
Getting Started with MongoDB & MongoMapper
If you’re thinking about using MongoDB in your next Ruby project, read this article about setting up and using MongoMapper.
Ruby Equality And Object Comparison
Object comparison is extremely important, not only do we tend to often explicitly compare objects to each other but objects are frequently compared and tested for equality ‘behind the scenes’, by core and library classes (i.e. ordering of objects in collections etc.). When it comes to object equality Ruby is interesting in that it provides multiple methods to test for object equality each with a slightly different purpose. So, lets not waste any time and jump straight into Ruby Equality And Object Comparison.
Laminate - Safe user templates for your Ruby apps
We’ve recently pushed a new Ruby template system called Laminate up to github. Laminate binds the Lua runtime into Ruby to support safe user templates. Laminate is deployed in production supporting our VodSpot product.
Paperclip and multiple content types
If you want to allow multiple types of file uploads with paperclip, but only resize images, try this: http://bit.ly/2c4W37
ActiveRecord Attribute Normalization (Rails Plugin)
I just announced a Active Record Attribute Normalizer Plugin (soon to be a gem) hosted over at github. This plugin goes a long way in helping you get strict on you active record models through easy normalization.
Fresh from BDDCasts
Using Spork to speed up RSpec and Cucumber episode describes the installation and configuration of Spork to make RSpec and Cucumber load specs and features a lot faster. This episode is part of the new Tools series which will present a number of tutorials on how to use tools to automate and streamline your BDD process.
New Rails Plugin for LESS CSS
There is now an official Rails plugin for using LESS CSS. This seems like a nice improvement over the previous “less-for-rails” plugin.
validates_timeliness v2.2 released - Date and time validation for Rails
validates_timeliness version 2.2 released with Ruby 1.9 support and a fix for conflict with Shoulda.