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.

Nov 30, 2017
ActiveRecord Query method - none. It returns a chainable relation with zero records. Post.none => #
manu
Manu
Nov 28, 2017
active record inspect method is invoked to log the active record collection object to the rails console which by default limits the query by 11 but does not actually limit the query being executed.
akshay
Akshay
Nov 23, 2017
Firefox exposes about:crashes url where one can see history of crash reports. Clicking on each crash report takes to mozilla website where one can see crash details
yuva
Yuva
Co-founder
Nov 20, 2017
we can tell the browser how to execute the script. By default, browser runs the script immediately by pausing HTML parsing. Else you can specify async or defer with the script tag to either run script asynchronously or defer it until HTML is parsed.
akshay
Akshay
Nov 18, 2017
if you are using file-loader with webpack to process your assets and want to serve images from cdn you need to pass that cdn url in `publicPath: ''
harshwardhan
Harshwardhan
Nov 17, 2017
when using webpack-uglify to minify your code if you face a situation where your build fails with syntex error try setting "uglify-js": true this will run all the transformations, however you can use "useBuiltIns": true with that option to only include polyfills for your target browsers
harshwardhan
Harshwardhan
Nov 13, 2017
We can use the command docker-compose up -d --no-deps --build to do a zero downtime upgrade of services inside a running docker-compose stack.
emil
Emil
Nov 11, 2017
docker system prune -a will free up significant space on your hard disk if you have a lot of stopped docker containers and dangling volumes etc
emil
Emil

Showing 73 to 75 of 80 results

Ready to Build Something Amazing?

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