new modes

This commit is contained in:
kb6e
2025-08-25 20:17:44 +02:00
parent 6fbd24e36e
commit 6385c39c10
38 changed files with 385 additions and 302 deletions

View File

@@ -26,9 +26,10 @@ development:
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
database: data/test.sqlite3
database: aperonight_development
# adapter: sqlite3
# pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
# database: data/test.sqlite3
# As with config/credentials.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is

View File

@@ -12,6 +12,10 @@ Rails.application.routes.draw do
# Defines the root path route ("/")
root "pages#home"
# Events page
get "events", to: "events#index"
get "events/:id", to: "events#show"
# Routes for devise authentication Gem
# Bind devise to user
# devise_for :users