Stuff for rails