From 1932ad4f72d3d84bbd342d9fca6c3d9149abaf3b Mon Sep 17 00:00:00 2001 From: bionickatana Date: Mon, 27 Jul 2026 18:45:09 -0600 Subject: [PATCH] Created new stuff --- NOTES.md | 13 +++++++++++++ app/controllers/dashboard_controller.rb | 2 ++ app/helpers/dashboard_helper.rb | 2 ++ app/models/joint.rb | 2 ++ app/models/joints_info.rb | 2 ++ app/models/special_test.rb | 2 ++ test/controllers/dashboard_controller_test.rb | 7 +++++++ test/fixtures/joints.yml | 11 +++++++++++ test/fixtures/joints_infos.yml | 11 +++++++++++ test/fixtures/special_tests.yml | 11 +++++++++++ test/models/joint_test.rb | 7 +++++++ test/models/joints_info_test.rb | 7 +++++++ test/models/special_test_test.rb | 7 +++++++ 13 files changed, 84 insertions(+) create mode 100644 NOTES.md create mode 100644 app/controllers/dashboard_controller.rb create mode 100644 app/helpers/dashboard_helper.rb create mode 100644 app/models/joint.rb create mode 100644 app/models/joints_info.rb create mode 100644 app/models/special_test.rb create mode 100644 test/controllers/dashboard_controller_test.rb create mode 100644 test/fixtures/joints.yml create mode 100644 test/fixtures/joints_infos.yml create mode 100644 test/fixtures/special_tests.yml create mode 100644 test/models/joint_test.rb create mode 100644 test/models/joints_info_test.rb create mode 100644 test/models/special_test_test.rb diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..6a8b4dd --- /dev/null +++ b/NOTES.md @@ -0,0 +1,13 @@ +# Setting up the application + +## Create the database connections: + +bin/rails generate model Joints --no-migration +bin/rails generate model JointsInfo --no-migration +bin/rails generate model SpecialTest --no-migration + + +# Setup the views + +bin/rails generate controller dashboard + diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb new file mode 100644 index 0000000..e1192e4 --- /dev/null +++ b/app/controllers/dashboard_controller.rb @@ -0,0 +1,2 @@ +class DashboardController < ApplicationController +end diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb new file mode 100644 index 0000000..a94ddfc --- /dev/null +++ b/app/helpers/dashboard_helper.rb @@ -0,0 +1,2 @@ +module DashboardHelper +end diff --git a/app/models/joint.rb b/app/models/joint.rb new file mode 100644 index 0000000..e4645c4 --- /dev/null +++ b/app/models/joint.rb @@ -0,0 +1,2 @@ +class Joint < ApplicationRecord +end diff --git a/app/models/joints_info.rb b/app/models/joints_info.rb new file mode 100644 index 0000000..c8ef247 --- /dev/null +++ b/app/models/joints_info.rb @@ -0,0 +1,2 @@ +class JointsInfo < ApplicationRecord +end diff --git a/app/models/special_test.rb b/app/models/special_test.rb new file mode 100644 index 0000000..55ce1b6 --- /dev/null +++ b/app/models/special_test.rb @@ -0,0 +1,2 @@ +class SpecialTest < ApplicationRecord +end diff --git a/test/controllers/dashboard_controller_test.rb b/test/controllers/dashboard_controller_test.rb new file mode 100644 index 0000000..8e67afa --- /dev/null +++ b/test/controllers/dashboard_controller_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class DashboardControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end diff --git a/test/fixtures/joints.yml b/test/fixtures/joints.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/joints.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/fixtures/joints_infos.yml b/test/fixtures/joints_infos.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/joints_infos.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/fixtures/special_tests.yml b/test/fixtures/special_tests.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/test/fixtures/special_tests.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/test/models/joint_test.rb b/test/models/joint_test.rb new file mode 100644 index 0000000..25b7ead --- /dev/null +++ b/test/models/joint_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class JointTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/joints_info_test.rb b/test/models/joints_info_test.rb new file mode 100644 index 0000000..0a4996e --- /dev/null +++ b/test/models/joints_info_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class JointsInfoTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/special_test_test.rb b/test/models/special_test_test.rb new file mode 100644 index 0000000..864eb1c --- /dev/null +++ b/test/models/special_test_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class SpecialTestTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end