There are two conventions on the names of the belongs_to relation and the foreign key field upon which it is built. One is that they have the same name - the other is that the field's name is something like 'foreigntable_id' and the relation is 'foreigntable'. The advantage of the second is that you can use the field directly using the standard accessors.
Currently the name of the FormFu field needs to be the same as the database field (not the relation). I have no preferences of one or the other - but I would like to commit some tests documenting that behaviour. -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ _______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
