add engine for rails31 app