Upgrading to Rails 4 Other translations:
With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here we walk you through the steps to upgrade a Rails 3.2 application to Rails 4.
Fast Rails Commands Other translations:
Rails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each time. Here we show three tools to make this faster: Zeus, Spring, and Commands.
The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output
Learn how to easily add a user activity feed using the public_activity gem. Here we show both the default setup using model callbacks and a manual way to trigger activities.
Importing CSV and Excel Other translations:
Allow users to import records into the database by uploading a CSV or Excel document. Here we show how to use Roo to parse these files and present a solution for validations
Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards
Turbolinks Other translations:
Cache Digests Other translations:
The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire but there are traps we need to watch out for.
Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode.