* check in missing images
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE crash_dumps ADD COLUMN email VARCHAR(255);
|
||||
ALTER TABLE crash_dumps ADD COLUMN description VARCHAR(10000);
|
||||
ALTER TABLE crash_dumps ADD COLUMN os VARCHAR(100);
|
||||
ALTER TABLE crash_dumps ADD COLUMN os_version VARCHAR(100);
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ module JamRuby
|
|||
before_validation(:on => :create) do
|
||||
self.created_at ||= Time.now
|
||||
self.id = SecureRandom.uuid
|
||||
self.uri = "dump/#{created_at.strftime('%Y-%m-%d')}/#{self.id}"
|
||||
self.uri = "dumps/#{created_at.strftime('%Y-%m-%d')}/#{self.id}"
|
||||
end
|
||||
|
||||
def user_email
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 606 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 642 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 806 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
|
@ -612,7 +612,7 @@ ApiUsersController < ApiController
|
|||
|
||||
logger.debug("crash_dump can read from url #{read_url}")
|
||||
|
||||
redirect_to write_url
|
||||
redirect_to write_url, status: 307
|
||||
else
|
||||
# we should store it here to aid in development, but we don't have to until someone wants the feature
|
||||
# so... just return 200
|
||||
|
|
|
|||