Hello, I''ve created 2 databases with a relation 1-N, for example 1 table "tasks" and 1 table "categories", I''ve done the relation 1-N (in task.rb belongs_to :category and in category.rb has_many :tasks) and I''ve created a form to have the possibility to choose a category in a dropdown list when I create a task. The creation of a new task is well done but without the field "category_id" stays empty? Does someone help me with this problem? I really don'' understand because another relation with the same principle works fine... Thanks you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---