It sounds like you should establish an association between the two models:
class Client < ActiveRecord::Base
class Detail < ActiveRecord::Base
This would require a client_id column in the details table.
Then, when the form is submitted, you would do something like:
client = Client.new(params[:client])
The one save inserts both the clients and details rows.