rename public scopes to is_public, since public is reserved
use strong params in events controller
use datetime_select instead of datetime in views
replace deprecated find_by_all  with where