Grzegorz Derebecki
Grzegorz Derebecki
@hellojere when you look at rails guides there is nice example how use strong parameters in new/edit action http://edgeguides.rubyonrails.org/action_controller_overview.html#more-examples example: ``` def blog_params params.fetch(:blog, {}).permit(:title, :author) end ```
@rmoriz 1. I write above how you should define params method it is convention that you will find in rails guide 2. You can have multiple params methods in one...
@rmoriz read 4.5.3 More Examples from http://edgeguides.rubyonrails.org/action_controller_overview.html#strong-parameters 1. params.fetch(:blog, {}).permit(:title, :author) Will always return hash even if :blog is empty. 2. Convention was always model names. When you have register...
ThinkingSphinx::ConnectionError actually make query retry. Increased retry times from 3 to 10. But was wondering how often this retry is used. I subscribe `message.thinking_sphinx` and logs in sentry. ``` ActiveSupport::Notifications.subscribe("message.thinking_sphinx")...
I have the same problem - node_explorer for monitoring server require network host. When setup accessory ``` node_explorer: image: quay.io/prometheus/node-exporter:latest host: cmd: "--path.rootfs=/host --collector.systemd --collector.processes" directories: - /:/host:ro,rslave options: net:...
Job with concurrency key blocked when it shouldn't have, eventually was run after `duration` expired
@rosa We have the same problem. - [job1] scheduled - [job2] scheduled - [job1] finished - [job1] release BlockedExecution (but it don't exists yet) - [job2] create BlockedExecution (won't be...