assign defaults to fields

If this is in your database, then you could have each of your column names use a default value, that would be overridden when you gave it a value.

something like this would work in your migrations file:

create_table "content_nodes", :force => true do |t|     t.column "name", :string, :default => "" end



in your model

def initialize#constructor @id_name=“PANCHO GOMEZ, JR” end

regards gaurav