minor bugfixes and improved last_action view

is ActiveRecord smart about this?