unified and improved Rails plugin