aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/league_pick_score.rb
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
committersadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
commit332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 (patch)
tree6ae553317f12a7a6a29c849c8805ffab96436dc2 /app/models/league_pick_score.rb
downloadtd-332ec93366315fa1ed7b4acd7a3407c96e8ddfa7.tar.gz
td-332ec93366315fa1ed7b4acd7a3407c96e8ddfa7.tar.bz2
initial mistakeHEADmain
Diffstat (limited to 'app/models/league_pick_score.rb')
-rw-r--r--app/models/league_pick_score.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/league_pick_score.rb b/app/models/league_pick_score.rb
new file mode 100644
index 0000000..f7c6521
--- /dev/null
+++ b/app/models/league_pick_score.rb
@@ -0,0 +1,7 @@
+class LeaguePickScore < ApplicationRecord
+ def self.ransackable_attributes(auth_object = nil)
+ ["champion", "conference", "divisional", "league_id", "player", "playoffs", "superbowl", "team", "total", "win"]
+ end
+
+ # private_class_method :ransackable_attributes
+end