search for: jeannnn

Displaying 1 result from an estimated 1 matches for "jeannnn".

Did you mean: jeanne
2009 Jan 25
1
habtm relation and dependent => :destroy
...- users - rights If there a way to affect a destroy dependance on those 2 tables only for the last instance? In my opinion, dependent => :destroy is not the solution because this delete all the linked instance. For example, if I have: # in User model this: - "Joooooo" - "Jeannnn" - "Tommmm" # in Right model this: - "Write" - "Read" # in the habtm relation this: - "Joooooo" can "Write" - "Joooooo" can "Read" - "Jeannnn" can "Read" I would like to be able to delete &qu...