diff --git a/.env.sample b/.env.sample index 8b6b453..bdfe117 100644 --- a/.env.sample +++ b/.env.sample @@ -1,20 +1,23 @@ -# STATIC: restart server when changes! -#------------------------------------- -# RAILS_PORT=7500 +# RAILS CONSTANTS +# --------------- +# restart required after change! +# RAILS_PORT=7500 # DATABASE_HOST=localhost -# DATABASE_NAME=easy-going-rails -# DATABASE_USER=$DATABASE_NAME -# DATABASE_PASSWORD=$DATABASE_NAME # HOT CONSTANTS -#-------------- +# ------------- + STIMULUS_DEBUG=false LOG_ACTIVE_RECORD=false LOG_ACTION_VIEW=false -# INTEGER=2 -# STRING= +# with default value, type gets inferred from +# INTEGER=1 +# STRING=anything # BOOLEAN=true -# IDEA: optional nil ends with '?'' \ No newline at end of file +# with no default value (evaluated to nil), type must be defined expressively otherwise it reverts to a string type +# INTEGER=:integer +# BOOLEAN=:boolean +# STRING= diff --git a/app/views/scores/_score.html.erb b/app/views/scores/_score.html.erb index 394b9a8..f3823f6 100644 --- a/app/views/scores/_score.html.erb +++ b/app/views/scores/_score.html.erb @@ -9,10 +9,9 @@