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