Open gem for all rails versions.