locked activemodel and activesupport into versions under 4.0 to avoid incompatibility errors