Codebrahma

Work

Blog Posts, page 13 of 14

Implementing Upsert in Rails: Tutorial

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: Ruby on Rails Development

Tutorial

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

#rails-observers#ruby-on-rails-development
Read Post

Ruby rescue vs try vs ternary | Ruby exception handling

Research and Articles

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

Read Post

Optimizing your workflow Git-Bash-101

Tutorial

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

Read Post

Git Hunks: Stage hunks of code

Research and Articles

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

Read Post

Javascript Promises Implementation

Tutorial

Explaining implementation of Javascript promises API

#javascript#web-application-development
Read Post

Ruby Decorators: Add behavior to objects

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.

#ruby-on-rails-development
Read Post
« newest posts‹ newer postsolder posts ›