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 20, 2018
rubocop -a can autocorrect many kinds of issues.
kamal
kamal
Jun 19, 2018
ActiveRecord update_all does not touch updated_at
mrinmoy
mrinmoy
Jun 19, 2018
byebug
kamal
kamal
Jun 18, 2018
yuva
Yuva
Co-founder
Jun 16, 2018
If one wants to run iex without starting any applications iex -S mix run --no-start is very handy
yuva
Yuva
Co-founder
Jun 14, 2018
For models A and B, if A has_one B, then A.new.b.build wont work. You have to say A.new.build_b.
kamal
kamal
Jun 11, 2018
Sidekiq processes jobs in a multithreaded process. Which means there is no guarantee that the jobs that are enqueued will processed in the same order. So you'd need to consider the aspect of context switch that can happen and thus make sure that the worker code is thread safe.
akshay
akshay
May 22, 2018
Today I came to know that the name of process which takes care of clipboard is called pboard on mac. If clipboard is acting funny, just kill this process!
yuva
Yuva
Co-founder
May 17, 2018
while tesing with enzyme if you are unit testing your component method with component.instance().methodName() always double check if the method that you are testing have access to "this" variable manually. Currently even if it does not have "this" access the test will pass
harshwardhan
harshwardhan
May 16, 2018
You can create a quick screencast using hangouts and then share the video as a private youtube video
emil
emil

Showing 64 to 66 of 79 results

Ready to Build Something Amazing?

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