mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
clean up deleted_at hacks
This commit is contained in:
parent
ae97e7a9f6
commit
a8ec970240
@ -64,8 +64,4 @@ class Character < ActiveRecord::Base
|
||||
def self.icon
|
||||
'group'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -46,8 +46,4 @@ class Creature < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'creature'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -35,8 +35,4 @@ class Flora < ActiveRecord::Base
|
||||
def self.icon
|
||||
'local_florist'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -53,8 +53,4 @@ class Group < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'group'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -42,8 +42,4 @@ class Item < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'item'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -35,8 +35,4 @@ class Landmark < ActiveRecord::Base
|
||||
def self.icon
|
||||
'location_on'
|
||||
end
|
||||
|
||||
# def deleted_at
|
||||
# nil #hack
|
||||
# end
|
||||
end
|
||||
|
||||
@ -35,8 +35,4 @@ class Language < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'language'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -50,8 +50,4 @@ class Location < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'location'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -33,8 +33,4 @@ class Magic < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'magic'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -39,8 +39,4 @@ class Race < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'race'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -43,8 +43,4 @@ class Religion < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'religion'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -39,8 +39,4 @@ class Scene < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'scene'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -38,8 +38,4 @@ class Town < ActiveRecord::Base
|
||||
def self.icon
|
||||
'location_city'
|
||||
end
|
||||
|
||||
# def deleted_at
|
||||
# nil #hack
|
||||
# end
|
||||
end
|
||||
|
||||
@ -68,8 +68,4 @@ class Universe < ActiveRecord::Base
|
||||
def self.content_name
|
||||
'universe'
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
@ -191,8 +191,4 @@ class User < ActiveRecord::Base
|
||||
:email
|
||||
]
|
||||
end
|
||||
|
||||
def deleted_at
|
||||
nil #hack
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user