What does it take to add a custom field to the user model so that it can be edited in the preferences?
I tried to add the field to the 'editable' list in user_environment.rb, and add the field to the schema, then I put a line in the edit form similar to the others, but it only displays some text for a field name, and no field text box.
Also, pardon my ignorance, but where is the l() method defined that is called in the user_controller object? It seems to be some kind of lookup to get a prompt for a field, but I'll be darned if I can find where it's at.
|