Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In permitted_attributes, switch from database column detection to Rai…
…ls attributes detection. Addresses #838 (#839) * In permitted_attributes, switch from database column detection to Rails attributes detection. Fixes #838 * Temporarly revert "In permitted_attributes, switch from database column detection to Rails attributes detection. Fixes #838" This reverts commit 530a202. Reason: Adjust tests to obtain a before and after picture * Switch AbilitySpec's User testcase to an actual database model NamedUser in order to include Rails' actual column loading behavior * Demonstrate that the current implementation misses model attributes created by Rails' "attribute" call * Re-enable fix by reverting "Temporarly revert "In permitted_attributes, switch from database column detection to Rails attributes detection. Fixes #838"" This reverts commit 1195d39.
- Loading branch information