Skip to content

Commit 60c4851

Browse files
committed
Remove as_json overrides
1 parent 0b751b7 commit 60c4851

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
class Fortune < ApplicationRecord
22
self.table_name = "Fortune"
3-
4-
def as_json(*)
5-
attributes
6-
end
73
end
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
class World < ApplicationRecord
22
self.table_name = "World"
33

4-
def as_json(*)
5-
attributes
6-
end
7-
84
alias_attribute(:randomNumber, :randomnumber)
95
end

0 commit comments

Comments
 (0)