Rails compatibility and updated docs