Peter Cooper

RailStat: Open Source Real-time Web Site Statistics Package in Rails


~8 years ago by Peter Cooper on Ruby Inside.
RailStat is an open-source real-time Web site statistics package written in Ruby on Rails. It's not particularly advanced, but covers all of the main areas...

A Complete Guide to Using RubyInline for Optimization


~8 years ago by Peter Cooper on Ruby Inside.
Eric Hodel has put together a great guide to optimizing Ruby code with RubyInline and ruby-prof, a code profiler. Here's how I optimized png.rb to make...

Full Text Search & Tagging with Ruby on Rails and Ferret


~8 years ago by Peter Cooper on Ruby Inside.
Johnny of Johnny's Thoughts has put together a brief article / tutorial about implementing full text search with tagging in a Ruby on Rails application...

Rakemin: Run Rake tasks in a Web browser


~8 years ago by Peter Cooper on Ruby Inside.
One of my clients has a multi-application rollout system in place that operates on Rake tasks (Capistrano wasn't viable). The Rake tasks are centralized...

Find Old / Deprecated Code in your Rails Apps with a Plugin


~8 years ago by Peter Cooper on Ruby Inside.
On the back of Kevin Clark's "Things You Shouldn't Be Doing in Rails", Geoffrey Grosenbach has created a plugin called 'deprecated' that, with a single...

How to Reduce the $SAFE Level (For Ruby Geeks Only)


~8 years ago by Peter Cooper on Ruby Inside.
Eric Hodel has worked out a scary way to reduce Ruby's safe-level on the fly using a little inline C. Please don't use this in production code, it's just...

HotScripts.com launches Ruby on Rails section


~8 years ago by Peter Cooper on Ruby Inside.
HotScripts.com, a popular destination for finding PHP and CGI scripts, has added a Ruby on Rails category. Currently only 30 resources are listed, but as...

Get a temporary context with 'self.dup.instance_eval'


~8 years ago by Peter Cooper on Ruby Inside.
def foo 'bar' end module M def foo 'baz' end end puts "should be 'bar': #{foo}" self.dup.instance_eval do extend(M) puts "should...

Things You Shouldn't Be Doing With Rails


~8 years ago by Peter Cooper on Ruby Inside.
Kevin Clark presents "Things You Shouldn't Be Doing in Rails". It's not a list of things Rails isn't any good for, rather it's features or concepts related...

The Money Train: A Rails "E-Commerce Recipes" book


~8 years ago by Peter Cooper on Ruby Inside.
The Money Train is a great book being written by Benjamin Curtis about building e-commerce sites using Ruby on Rails. It's released as a 'beta book' meaning...