Hello everybody,
Here you can find a sample Rails 4 API application (lofocats_api) and here a sample Rails 4 UI application (lofocats_ui) consuming it (attached screenshot).
Happy developing,
Lazarus