-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
577f594
commit 05776f6
Showing
42 changed files
with
377 additions
and
11 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
app/controllers/pmdk_each_score_informations_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class PmdkEachScoreInformationsController < ApplicationController | ||
def new | ||
end | ||
|
||
def update | ||
end | ||
|
||
def create | ||
end | ||
|
||
def edit | ||
end | ||
|
||
def show | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class PmdkSchoolInformationsController < ApplicationController | ||
def new | ||
end | ||
|
||
def update | ||
end | ||
|
||
def create | ||
end | ||
|
||
def edit | ||
end | ||
|
||
def show | ||
end | ||
end |
16 changes: 16 additions & 0 deletions
16
app/controllers/pmdk_total_score_informations_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class PmdkTotalScoreInformationsController < ApplicationController | ||
def new | ||
end | ||
|
||
def update | ||
end | ||
|
||
def create | ||
end | ||
|
||
def edit | ||
end | ||
|
||
def show | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module PmdkEachScoreInformationsHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module PmdkSchoolInformationsHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module PmdkTotalScoreInformationsHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class PmdkEachScoreInformation < ApplicationRecord | ||
belongs_to :user | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class PmdkSchoolInformation < ApplicationRecord | ||
belongs_to :user | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class PmdkTotalScoreInformation < ApplicationRecord | ||
belongs_to :user | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkEachScoreInformations#create</h1> | ||
<p>Find me in app/views/pmdk_each_score_informations/create.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkEachScoreInformations#edit</h1> | ||
<p>Find me in app/views/pmdk_each_score_informations/edit.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkEachScoreInformations#new</h1> | ||
<p>Find me in app/views/pmdk_each_score_informations/new.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkEachScoreInformations#show</h1> | ||
<p>Find me in app/views/pmdk_each_score_informations/show.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkEachScoreInformations#update</h1> | ||
<p>Find me in app/views/pmdk_each_score_informations/update.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkSchoolInformations#create</h1> | ||
<p>Find me in app/views/pmdk_school_informations/create.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkSchoolInformations#edit</h1> | ||
<p>Find me in app/views/pmdk_school_informations/edit.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkSchoolInformations#new</h1> | ||
<p>Find me in app/views/pmdk_school_informations/new.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkSchoolInformations#show</h1> | ||
<p>Find me in app/views/pmdk_school_informations/show.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkSchoolInformations#update</h1> | ||
<p>Find me in app/views/pmdk_school_informations/update.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkTotalScoreInformations#create</h1> | ||
<p>Find me in app/views/pmdk_total_score_informations/create.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkTotalScoreInformations#edit</h1> | ||
<p>Find me in app/views/pmdk_total_score_informations/edit.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkTotalScoreInformations#new</h1> | ||
<p>Find me in app/views/pmdk_total_score_informations/new.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkTotalScoreInformations#show</h1> | ||
<p>Find me in app/views/pmdk_total_score_informations/show.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>PmdkTotalScoreInformations#update</h1> | ||
<p>Find me in app/views/pmdk_total_score_informations/update.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
db/migrate/20240125022622_create_pmdk_school_informations.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class CreatePmdkSchoolInformations < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :pmdk_school_informations do |t| | ||
t.string :asal_sekolah | ||
t.string :akreditas | ||
t.numeric :jumlah_pelajaran_un | ||
t.numeric :jumlah_nilai_un | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
5 changes: 5 additions & 0 deletions
5
db/migrate/20240125023412_add_user_ref_to_pmdk_school_information.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddUserRefToPmdkSchoolInformation < ActiveRecord::Migration[7.1] | ||
def change | ||
add_reference :pmdk_school_informations, :user, null: false, foreign_key: true | ||
end | ||
end |
18 changes: 18 additions & 0 deletions
18
db/migrate/20240125024340_create_pmdk_total_score_informations.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
class CreatePmdkTotalScoreInformations < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :pmdk_total_score_informations do |t| | ||
t.numeric :jumlah_nilai_semester_1 | ||
t.numeric :jumlah_nilai_semester_2 | ||
t.numeric :jumlah_nilai_semester_3 | ||
t.numeric :jumlah_nilai_semester_4 | ||
t.numeric :jumlah_nilai_semester_5 | ||
t.numeric :jumlah_pelajaran_semester_1 | ||
t.numeric :jumlah_pelajaran_semester_2 | ||
t.numeric :jumlah_pelajaran_semester_3 | ||
t.numeric :jumlah_pelajaran_semester_4 | ||
t.numeric :jumlah_pelajaran_semester_5 | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
5 changes: 5 additions & 0 deletions
5
db/migrate/20240125024622_add_user_ref_to_pmdk_total_score_information.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddUserRefToPmdkTotalScoreInformation < ActiveRecord::Migration[7.1] | ||
def change | ||
add_reference :pmdk_total_score_informations, :user, null: false, foreign_key: true | ||
end | ||
end |
31 changes: 31 additions & 0 deletions
31
db/migrate/20240125025003_create_pmdk_each_score_informations.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
class CreatePmdkEachScoreInformations < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :pmdk_each_score_informations do |t| | ||
t.numeric :matematika_semester_1 | ||
t.numeric :matematika_semester_2 | ||
t.numeric :matematika_semester_3 | ||
t.numeric :matematika_semester_4 | ||
t.numeric :matematika_semester_5 | ||
|
||
t.numeric :fisika_semester_1 | ||
t.numeric :fisika_semester_2 | ||
t.numeric :fisika_semester_3 | ||
t.numeric :fisika_semester_4 | ||
t.numeric :fisika_semester_5 | ||
|
||
t.numeric :kimia_semester_1 | ||
t.numeric :kimia_semester_2 | ||
t.numeric :kimia_semester_3 | ||
t.numeric :kimia_semester_4 | ||
t.numeric :kimia_semester_5 | ||
|
||
t.numeric :bahasa_inggris_semester_1 | ||
t.numeric :bahasa_inggris_semester_2 | ||
t.numeric :bahasa_inggris_semester_3 | ||
t.numeric :bahasa_inggris_semester_4 | ||
t.numeric :bahasa_inggris_semester_5 | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
5 changes: 5 additions & 0 deletions
5
db/migrate/20240125025449_add_user_ref_to_pmdk_each_score_information.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddUserRefToPmdkEachScoreInformation < ActiveRecord::Migration[7.1] | ||
def change | ||
add_reference :pmdk_each_score_informations, :user, null: false, foreign_key: true | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
test/controllers/pmdk_each_score_informations_controller_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require "test_helper" | ||
|
||
class PmdkEachScoreInformationsControllerTest < ActionDispatch::IntegrationTest | ||
test "should get new" do | ||
get pmdk_each_score_informations_new_url | ||
assert_response :success | ||
end | ||
|
||
test "should get update" do | ||
get pmdk_each_score_informations_update_url | ||
assert_response :success | ||
end | ||
|
||
test "should get create" do | ||
get pmdk_each_score_informations_create_url | ||
assert_response :success | ||
end | ||
|
||
test "should get edit" do | ||
get pmdk_each_score_informations_edit_url | ||
assert_response :success | ||
end | ||
|
||
test "should get show" do | ||
get pmdk_each_score_informations_show_url | ||
assert_response :success | ||
end | ||
end |
28 changes: 28 additions & 0 deletions
28
test/controllers/pmdk_school_informations_controller_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require "test_helper" | ||
|
||
class PmdkSchoolInformationsControllerTest < ActionDispatch::IntegrationTest | ||
test "should get new" do | ||
get pmdk_school_informations_new_url | ||
assert_response :success | ||
end | ||
|
||
test "should get update" do | ||
get pmdk_school_informations_update_url | ||
assert_response :success | ||
end | ||
|
||
test "should get create" do | ||
get pmdk_school_informations_create_url | ||
assert_response :success | ||
end | ||
|
||
test "should get edit" do | ||
get pmdk_school_informations_edit_url | ||
assert_response :success | ||
end | ||
|
||
test "should get show" do | ||
get pmdk_school_informations_show_url | ||
assert_response :success | ||
end | ||
end |
Oops, something went wrong.