require rails >= 3.0.0 making it work with rails 4.
make test app compatible with rails 4.