fix up exists check and specify additional params in flood method
add end index to foreach controller
parser should always compare a string
bump ruby version