Silly read only databases...

This commit is contained in:
2026-07-27 18:32:56 -06:00
parent 2a4e1c5026
commit 0172c86958
10 changed files with 95 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
class JointsController < ApplicationController
def index
# Grab values:
@available_categories = JointsDashboard.distinct.pluck(:Joint)
# Start with base query:
@records = JointsDashboard.all
# Filter data based on dropdown selection params
@records = @records.where(Joint: params[:joint]) if params[:joint].present?
#@records = @records.where(Joint == params[:joint]) if params[:joint].present?
puts @records
end
end