We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
as_json
1 parent 0b751b7 commit 60c4851Copy full SHA for 60c4851
frameworks/Ruby/rage/app/models/fortune.rb
@@ -1,7 +1,3 @@
1
class Fortune < ApplicationRecord
2
self.table_name = "Fortune"
3
-
4
- def as_json(*)
5
- attributes
6
- end
7
end
frameworks/Ruby/rage/app/models/world.rb
@@ -1,9 +1,5 @@
class World < ApplicationRecord
self.table_name = "World"
8
alias_attribute(:randomNumber, :randomnumber)
9
0 commit comments