Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text

Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
This commit is contained in:
Eugen Rochko
2017-01-25 00:49:08 +01:00
parent f8da0dd490
commit 999cde94a6
23 changed files with 159 additions and 173 deletions

View File

@ -1,5 +0,0 @@
class AddSpoilerToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :spoiler, :boolean, default: false
end
end