search for: has_billing

Displaying 1 result from an estimated 1 matches for "has_billing".

2006 Jun 10
3
Inserting data to another DB table
I have a form under one controller/model called "billing" using the "bills" table. When this form completes I want it to change the "has_billing" field for the user under the "users" table from "0" to "1". I''ve almost got it. I put: user = User.new user.update_attribute("has_billing", "1") under the "create" function for the billing form. It creates a new user...