Fine grained detection for Rails2 apps