Newest Rails compatibility