This document summarizes the key new features in Rails 4, including:
- Support for Ruby 2.0 and dropping support for older Ruby versions.
- Performance improvements to caching and database access.
- Enhancements to ActiveRecord like the where method and scopes.
- Strong parameters for sanitizing nested attributes.
- The PATCH HTTP method and routing concerns.
- Updates to ActiveModel and views like collection helpers.
Related topics: