rails-api/rails-api — pull request #178 by theunraveler (2014-12-20 18:39:54+00:00)
Title: Fixing use of deprecated `serve_static_assets` config option

As of Rails 4.2.0, `config.serve_static_assets` is deprecated, and it will be removed in Rails 5. The new option is `config.serve_static_files`. This patch just checks to see if the latter method exists and calls it instead.