tecnologiaenegocios / access_control

Access control for RoR
2 stars 1 forks source link

Explicit transaction block with multiple saves will have only the first one permission-checked #1

Open rcabralc opened 11 years ago

rcabralc commented 11 years ago

The following should be investigated and turned into a test case:

MyModel.transaction do
  instance.save!
  other_instance.save! # -> will not be checked
end