Hi i got these parameter in the create controller
Parameters: {"commit"=>"Create Tip",
"authenticity_token"=>"NCrD6MY1zIIBPMSm5sICH7SB+N/g/pc3MxYKnGOt5o0=",
"utf8"=>"✓", "tip"=>{"descripcion"=>"asdf", "tip"=>"asdf",
"tiptags_attributes"=>{"0"=>{"tags_id"=>"1"}}}}
 so
i get these
  @tip = Tip.new(params[:tip])


    puts "Printing @tip[:tiptags_attributes] " =nil
    puts @tip.attribute_names
   descripcion
tip
nil


    so how i can get  "tiptags_attributes"=>{"0"=>{"tags_id"=>"1"}
cause i want to change tags_id,

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to