update extension to rails 4

Signed-off-by: Nathan Lowrie <nate@finelineautomation.com>