Basic rails 4 support