hi all there are two tables Student and Batch in there model i have has_and_belongs_to_many :graduated_batches, :class_name => 'Batch', :join_table => 'batch_students' in Student table and has_and_belongs_to_many :graduated_students, :class_name => 'Student', :join_table => 'batch_students' in Batch table which are connected to a table called "batch_students" i have added a new column to batch_students table and i want to update the value in batch_students table. How can i update values in batch_students table where there is no model for that table so that i can update directly.how to update table which is in joins.
thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/18DSkbKNyBQJ. 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.