Verwaltung von Grundlegenden Attributen.

Lehnt an TimeStamps an um hier nun created_by und updated_by passend verwalten zu können.

User.current_user muss passend Antwort geben können, da bei Models grundlegend keine Information über den current_user vorhanden ist.

—————–

Plugin that looks when an instance of an model is created or updated and
checks if there are attributes called created_by and updated_by.
If these are Present, we ask User.current_user for the current User and set it accordingly

Like created_at or updated_at but for informations about the user

Subversion: http://svn.sjoker.net/svn/railsplugins/trunk/base_attributes

Einbinden und freuen!

convert this post to pdf.