Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: FormFu, DBIC, and multiple tables

by fireartist (Chaplain)
on Apr 01, 2010 at 08:24 UTC ( #832240=note: print w/replies, xml ) Need Help??


in reply to FormFu, DBIC, and multiple tables

'delete_if_empty' is for a 'might_have' row related to the root row passed to default_values().

In your case, you'll need code in your controller to check for the lack of a value, and call delete() yourself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://832240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-01-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?