First of all sorry for this simple question, after spending a lot of time I have given up finding it without any help :(.
Simplified I have the following situation: one table rates with columns rate and converted generated with the scaffold statement within ruby. The column rate will be shown in the view, but the converted column not which will only be used in the background of the application.
Now it's my goal to ask the user for a rate given in the field rate so the application can calculate the converted and store this value in the database. It's a simple calculation: converted = 1 / rate.
Please advice :).