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