- Stop MySQL
sudo service mysql stop
- Make MySQL service directory.
sudo mkdir /var/run/mysqld
- Give MySQL user permission to write to the service directory.
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
#!/bin/sh | |
set -e | |
vendor/bin/phpunit | |
(git push) || true | |
git checkout production | |
git merge master |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM```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 |