updating plugin for rails 3 -- in progress