Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Jun 11, 2019
Difference between match.url and match.path, which to use: https://css-tricks.com/react-router-4/#article-header-id-7
amit
Amit
Jun 7, 2019
ActiveRecord has a warn_on_records_fetched_greater_than config. If you use it “config.active_record.warn_on_records_fetched_greater_than = 1500” then if you use a Model.all and the records are > 1500 it will long a warning. Generally if the row count is high, you would want to use “find_in_batches” rather than “all”. The original issue https://github.com/rails/rails/issues/16463
goromlagche
Goromlagche
Jun 6, 2019
use credentials('global-cred-id') to use Jenkins credentials inside pipline Eg: DANGER_GITHUB_API_TOKEN = credentials('78c4b861-f9e8-44b8-8510-4d734ab752a0')
revath
Revath
Jun 3, 2019
iffyuva
Iffyuva
May 31, 2019
https://api.rubyonrails.org/classes/ActiveSupport/Testing/FileFixtures.html Rails 5 introduced file_fixture method to access sample files. It can be used in tests such as file upload/download.
atul
Atul
May 31, 2019
Rails 5 introduced file_fixture method to access sample files. It can be used in tests such as file upload/download. https://api.rubyonrails.org/classes/ActiveSupport/Testing/FileFixtures.html
atul
Atul
May 29, 2019
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ . We can specify backoffLimit to specify how many times a job should retry
iffyuva
Iffyuva
May 29, 2019
ncal
amit
Amit
May 29, 2019
ncal
amit
Amit
May 29, 2019
ncal
amit
Amit

Showing 54 to 56 of 80 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals