Homebrew Formula patching old ImageMagick release 6.9.9-10
$ brew install https://gist.githubusercontent.com/nipe0324/676047ff7cfd57cb41816dc7b9860e46/raw/87b0f14890248b24944f4f49150942f6ab250981/imagemagick.rb
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
ja: | |
devise: | |
confirmations: | |
confirmed: "アカウントの確認が成功しました。" | |
send_instructions: "アカウントの確認方法をメールでご連絡します。" | |
send_paranoid_instructions: "あなたのメールアドレスが登録済みの場合、アカウントの確認方法をメールでご連絡します。" | |
failure: | |
already_authenticated: "既にログイン済みです。" |
# 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 |
# 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. |
```rb | |
# table | |
# - users | |
# - users_profiles | |
# app/models/user.rb | |
class User < ApplicationRecord | |
end | |
# app/models/users.rb |