Class: Notee::Post
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Notee::Post
- Defined in:
- app/models/notee/post.rb
Instance Attribute Summary collapse
-
#editor_id ⇒ Object
accessors.
Instance Method Summary collapse
Methods inherited from ApplicationRecord
#create_authority, #destroy_authority, #is_destroy?, #skip_callback_block, #update_authority
Instance Attribute Details
#editor_id ⇒ Object
accessors
33 34 35 |
# File 'app/models/notee/post.rb', line 33 def editor_id @editor_id end |
Instance Method Details
#set_user_id ⇒ Object
35 36 37 |
# File 'app/models/notee/post.rb', line 35 def set_user_id self.user_id = Authority.get_user_id end |