This project is archived and is in readonly mode.
add first_bang to AR
-
Andrew White
- State changed from new to open
- Milestone set to 3.1
- Assigned user changed from Aaron Patterson to Andrew White
- Importance changed from to Low
Josh, can you add last! as well to the patch and I'll apply it
-
Josh Susser
OK, added last! too. (Aaron, you were right!)
-
Josh Susser
By the way, the simplistic example given in the original ticket above isn't the motivating use case. That would be using an association or scope to find a record.
def show @latest_update = current_user.updates.recent.first! end -
Josh Susser
Ugh, typo in comments. How lame is that? Here's the fix.
