One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
-# layouts/_error_messages.html.haml | |
- if f.object.errors.any? | |
.notification.is-danger Please review the problems below: | |
- if f.object.errors[:base].present? | |
.notification.is-danger= f.object.errors[:base].join(', ') |
+------+------+-------+ | |
| code | sjis | cp932 | | |
+------+------+-------+ | |
| 815F | \ | \ | | |
| 8160 | 〜 | ~ | | |
| 8161 | ‖ | ∥ | | |
| 817C | − | - | | |
| 8191 | ¢ | ¢ | | |
| 8192 | £ | £ | | |
| 81CA | ¬ | ¬ | |
// -------------------------------------------------- | |
// Flexbox SASS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
@mixin flexbox { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; |
# | |
# 数字 | |
# | |
# 全て数値(全角) | |
/\A[0-9]+\z/ | |
# 全て数値(半角) | |
/\A[0-9]+\z/ |
class MyJob < ActiveJob::Base | |
queue_as :urgent | |
rescue_from(NoResultsError) do | |
retry_job wait: 5.minutes, queue: :default | |
end | |
def perform(*args) | |
MyService.call(*args) | |
end |