04:15:02.788004 Error 3 (Critical:3)
04:15:02.788010 PASSED: true
04:15:02.788013 SCORE: 1345 (+1921 -576(30%))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```rb | |
# table | |
# - users | |
# - users_profiles | |
# app/models/user.rb | |
class User < ApplicationRecord | |
end | |
# app/models/users.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/bugsnag/bugsnag-ruby/blob/master/lib/bugsnag/delivery/synchronous.rb | |
require "net/https" | |
require "uri" | |
module Bugsnag | |
module Delivery | |
class Synchronous | |
class << self | |
## | |
# Attempts to deliver a payload to the given endpoint synchronously. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/tasks/db.rake | |
namespace :db do | |
desc "Dumps the database to db/APP_NAME.dump" | |
task :dump => :environment do | |
cmd = nil | |
with_config do |app, host, db, user| | |
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
end | |
puts cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
ja: | |
devise: | |
confirmations: | |
confirmed: "アカウントの確認が成功しました。" | |
send_instructions: "アカウントの確認方法をメールでご連絡します。" | |
send_paranoid_instructions: "あなたのメールアドレスが登録済みの場合、アカウントの確認方法をメールでご連絡します。" | |
failure: | |
already_authenticated: "既にログイン済みです。" |