| Class | Person |
| In: |
app/models/person.rb
|
| Parent: | ActiveRecord::Base |
Returns a list of any user-listable attributes that are not part of the base Person data
Returns a flattened list of attributes, good to be used in a generic listing. This means, the attributes are by themselves both good enough as a column header and valid methods that can be sent to the person instance.
Performs a (optionally paginated) search for the specified string in any of the firstname, famname or login fields.
If no parameters are specified, it just returns a full listing, ordered by ID. Any additional parameters for the search can be specified in the second parameter (as a hash).
The resulting list will be paginated if the :paginate attribute is true.
Sets the encrypted password - Regenerates the random salt and computes a MD5 for the supplied plaintext password.