Ruby on Rails Friday, July 30, 2010

I have a database table 'tankticket' that has the following fields:

id
tank_id
ticket_date
batchid
product
api
tank_temp
gauge
gross_vol
vol_correction
roof_correction
net_vol
ticket_vol
created_on
updated_on

I Have a form that requires 'tank_id', 'ticket_date', 'batchid',
'product', 'api', 'tank_temp', and 'gauge'

I'm calculating the rest of the data in the application helper. I need
to know where the calculations should be triggered and how to get the
input data and the calculated data to the database when the 'create'
button is clicked...!

Thanks in advance...!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment