you can use the association to create and bypass the id pass at the least.
also, the after_create :name way should work. you could also save a db call
by making it a before_create + new. try:
before_create :create_default_child
def create_default_child
model_bs.new :name => "Default Name"
end
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.