add range method to root resource

Signed-off-by: Stephan Pavlovic <stephan@railslove.com>