Fix Rails dependency

https://aclgrc.atlassian.net/browse/AD-450