Hey, wie kann man in Observer auf instance Variablen zugrefen? Ich baue gerade das "latest activity" feature in meine webapp ein und habe das versucht:
def after_destroy(bill)
activity = Activity.new
activity.category_id = 1
activity.user_id = @current_user.id
activity.save(false)
end
weis jemand wie das gehen könnte?
greets kalle
_______________________________________________ rubyonrails-ug mailing list [email protected] http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
