# HG changeset patch # User edogawaconan # Date 1381859898 -32400 # Node ID 0bf1d6f75baa539507411d981835157c3150fdba # Parent c3080316b4ddb840ff929cf3a6e7903aaa38a6ef Accidentally limited pastes to 0 characters. Yay. diff -r c3080316b4dd -r 0bf1d6f75baa app/models/paste.rb --- a/app/models/paste.rb Wed Oct 16 02:57:51 2013 +0900 +++ b/app/models/paste.rb Wed Oct 16 02:58:18 2013 +0900 @@ -6,7 +6,7 @@ before_validation :set_paste_key before_validation :set_paste_secret validates :paste, :paste_hash, :key, :ip, :presence => true - validates :paste, :length => { :maximum => 1 } + validates :paste, :length => { :maximum => 1_000_000 } def to_param path