New extension: PcBaseArModel

I use this class as a base class for my AR models. It provides several features:

[list=1][]Automatic timestamping when a record is being created and updated.[]“Safe” updating and deleting of record using “Optimistic Locking”[list=1][]Also method for safe updating using given number of retries in case of failures.[/list][]Convenient method for record attribute trimming for breadcrumbs. For example, ‘title’ attribute that needs to be trimmed since it can be long (common requirement since breadcrumbs have limited screen real-estate).[*]Can tell if an object ‘is dirty’.[/list]

Please comment on the GitHub project page so we can keep track of feedback most effectively.

Extension page

Github project page