If Short Circuit Reminder
Here's a often forgotten shortcut for simple if's:
Very useful for quick things in Rails controllers.
variable=condition ? value_if_true : value_if_not_true
Very useful for quick things in Rails controllers.


1 Comments:
This comment has been removed by a blog administrator.
Post a Comment
Links to this post:
Create a Link
<< Home