“Whenever” gem running cron jobs on Heroku

Short answer: use the scheduler add-on: http://addons.heroku.com/scheduler Long answer: When you do heroku run, we spin up a dyno put your code on it execute your command, wait for it to finish throw the dyno away Any changes you made to crontab would be immediately thrown away. Everything is ephemeral, you cannot edit files on … Read more

Sidekiq Rails 4.2 Use Active Job or Worker? What’s the difference

Short answer is they are the same thing. ActiveJob calls it a Job whereas Sidekiq calls it a Worker. I’ve decided to keep the terminology different so that people can distinguish the two. You can use either one. Note that ActiveJob does not provide access to the full set of Sidekiq options so if you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)