Added: Update for rails 4 railties support.