Drop old user image columns
This commit is contained in:
parent
826b70fdc5
commit
8a39c6b4a2
3 changed files with 10 additions and 5 deletions
|
@ -46,8 +46,6 @@
|
|||
class User < ActiveRecord::Base
|
||||
require "xml/libxml"
|
||||
|
||||
self.ignored_columns = %w[image_file_name image_fingerprint image_content_type]
|
||||
|
||||
has_many :traces, -> { where(:visible => true) }
|
||||
has_many :diary_entries, -> { order(:created_at => :desc) }
|
||||
has_many :diary_comments, -> { order(:created_at => :desc) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue