Rails integration for LiveResource