Closed damisul closed 4 months ago
Added two new columns to Ingestibles table: locked_by_user_id and locked_at.
On every action which may changed ingestible, it now tries to lock ingestible. Record considered locked if locked_at is not more than 15 minutes ago.
Also fixed several i18n-related issues (wrong scope for i18n string ingestible -> ingestibles (controller name)).
Added specs for IngestiblesController.
Added two new columns to Ingestibles table: locked_by_user_id and locked_at.
On every action which may changed ingestible, it now tries to lock ingestible. Record considered locked if locked_at is not more than 15 minutes ago.
Also fixed several i18n-related issues (wrong scope for i18n string ingestible -> ingestibles (controller name)).
Added specs for IngestiblesController.