Find the ip address running this command:
ip addr show docker0 | grep inet
This will be the PMA_HOST in below steps. The PMA_HOST of local machine is like this: 172.17.0.1
use this command to create a user for phpmyadmin login
```app/models/concerns/active_admin/filter_name.rb``` | |
module ActiveAdmin::FilterName | |
extend ActiveSupport::Concern | |
included do | |
def self.ransackable_scopes(_auth_object = nil) | |
%i[attribute_eq] | |
end | |
def self.attribute_eq(paramater) | |
return none unless invalid_parameter |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM#!/bin/sh | |
set -e | |
vendor/bin/phpunit | |
(git push) || true | |
git checkout production | |
git merge master |
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |