Jamie McCue

My-Serve Mobile App

  • Save
My-Serve Mobile App mobile responsive

As much as I respect responsive design, it's not a silver bullet for the multi-device web. In some cases, it's more appropriate to tailor views to serve the most relevant content and UI to specific device categories (tablet, phone, desktop).

New with Rails 4.1 are Action Pack Variants, a helpful way to have more control over how views will be used by the app, helping to remove extra logic from the code and allow the framework to handle device specific interfaces with a more elegant solution.

For our team this is really useful because now we can serve a much slimmer version of the app to mobile devices, instead of hiding the elements using CSS using media queries.

keyboard shortcuts: L or F like