caprese
caprese copied to clipboard
Add caprese primary key per model and action
Stories
- As a developer, I want to assign a primary key for Caprese to use by model, and by controller action
class Controller
primary_key :id, only: :validate_code
end
class Record
self.caprese_primary_key = :id
end