Readable Rails code
Man, I love how humanly readable Ruby on Rails code can be. I mean, I reckon even my mother could guess what this line of actual code does:
redirect_to login_url unless current_user.has_permission_to(MANAGE_USERS)
Man, I love how humanly readable Ruby on Rails code can be. I mean, I reckon even my mother could guess what this line of actual code does:
redirect_to login_url unless current_user.has_permission_to(MANAGE_USERS)