View active_admin.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
# config/initializers/active_admin.rb | |
#... | |
module ActiveAdmin | |
module Views | |
# Defines a `react_component` active admin component. It allows you | |
# to include react components into active admin using React On Rails. | |
# Example: | |
# |
View docker-compose.yml
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
web: | |
build: . | |
volumes: | |
- .:/opt/myapp | |
ports: | |
- '3000:3000' | |
links: | |
- db | |
- redis | |
- selenium |
View gist:542c37648de91a02402a
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
module ActiveAdmin | |
module Views | |
class ActiveAdminForm | |
class DeprecatedFormBufferSubstitute | |
def initialize(form) | |
@form = form | |
end | |
def << (value) | |
@form.text_node value.html_safe | |
end |
View imap-search
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
ALL | |
All messages in the mailbox; the default initial key for | |
ANDing. | |
ANSWERED | |
Messages with the \Answered flag set. | |
BCC | |
Messages that contain the specified string in the envelope | |
structure's BCC field. |