Say I have these two classes:
class Client < ActiveRecord::Base has_one :setting, :dependent => :destroy end
class Setting < ActiveRecord::Base belongs_to :client end
Is there any way to write an init method that will create and assign the client a setting before evaluating params, but otherwise works 'as normal'?
Thanks, Isak