Hi all
following situation:
3 tables:
users (id, nickname,…)
conversations(id, …)
conversations_users(user_id, conversation_id, date_deleted)
2: models
user (has_and_belongs_to_many :conversations,
:join_table=>‘conversations_users’, :conditions=>‘date_deleted IS NULL’)
conversation
How can i update update the “date_deleted” in the m:n join table? If i
want to do it by
user.conditions.date_deleted = DateTime.now
it don’t work
Any idea?
Greets