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.

Aug 6, 2018
Use DISABLE_DATABASE_ENVIRONMENT_CHECK env variable to get rid of those crazy migrations check introduced by Rails 5!
yuva
Yuva
Co-founder
Aug 2, 2018
we can attach methods to an individual instance in ruby https://www.dropbox.com/s/4gpm3r9r9qun35f/Screen%20Shot%202018-08-02%20at%2011.10.22%20PM.png?dl=0
prototypes :p
mrinmoy
Mrinmoy
Aug 2, 2018
~/.local/share/trash
mrinmoy
Mrinmoy
Aug 1, 2018
form.submit() won't run the HTML5 validations. if you want to programatically run HTML5 validation use form.checkValidity() and form.reportValidity() EG: https://jsbin.com/huqana
revath
Revath
Jul 26, 2018
The EXPLAIN statement provides information about how MySQL executes statements i.e MySQL explains how it would process the statement, including information about how tables are joined and in which order
manu
Manu
Jul 26, 2018
For radio buttons, checkboxes ..., Materialize expects the input tag to appear before the label tag. Otherwise only the label will be rendered.
kamal
Kamal
Jul 25, 2018
This is a pretty good read if one is setting up SSL on their own https://sanderknape.com/2016/06/getting-ssl-labs-rating-nginx/
yuva
Yuva
Co-founder
Jul 19, 2018
Ruby by default has certain mutable and immutable object types. Booleans and numbers for example are immutable, and this in turn affects the way how a variable is passed to a method i.e pass by value or reference.
manu
Manu
Jul 18, 2018
Ruby has a class called SimpleDelegator which can be used to used to implement decorator pattern. It can be used to delegate all supported method calls to the object passed into the constructor.
akshay
Akshay
Jul 15, 2018
You can use a tool called [Telepresence](https://www.telepresence.io) to create a 2-way proxy between your local dev machine and a k8s cluster. Uses : be able to inherit env vars and other configs from k8s locally, make use of other services running in the cluster when running your dev instance of a service you want to test
emil
Emil

Showing 65 to 67 of 82 results

Ready to Build Something Amazing?

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