Codebrahma

Work

Blog Posts, page 12 of 13

Implementing Upsert in Rails

Tutorial

Tutorial on implementing upserts in rails. An upsert is update or insert. Upsert in database terms refers to an operation which should insert a row into a database table if it doesn’t not already exist, or update it if it does.

#ruby-on-rails-development#upsert-in-rails
Read Post

Observers in Rails

Tutorial

Codebrahma explaining about the observers in rails. Observer classes respond to life cycle callbacks to implement trigger-like behavior outside the original class.

Ruby rescue vs try vs ternary

Research and Articles

Codebrahma explaining different types of exception handling in ruby. Comparision between Ruby Rescue vs Try vs ternary.

Optimizing your workflow Git-Bash-101

Tutorial

Codebrahma sharing cool bash scripts to optimize your git workflow. Git workflow for web development

Git Hunks

Research and Articles

Codebrahma explaining Git Hunks, one of the awesome tools in git. Git Hunks, git bisect and git cherrypick.

Javascript Promises

Tutorial

Explaining implementation of Javascript promises API

Ruby Decorators

Development

Decorators allow us to add behavior to objects without affecting other objects of the same class. Codebrahma explaining ruby decorators, a key feature of ruby on rails.

« newest posts‹ newer postsolder posts ›