---
title: "Tenzin Chemi (@imechemi) | Hashnode"
description: "I write softwares. Read the latest articles by Tenzin Chemi on Hashnode."
url: "https://hashnode.com/@imechemi"
---

@imechemi

# Tenzin Chemi

@imechemi · Joined April 2019

I write softwares

### [Gotcha: Request spec](https://tenzinchemi.in/gotcha-request-spec?utm_source=hashnode&utm_medium=feed)

You may have faced this issue where { key: false } was treated as { “key”: “false” } when writing request specs in rails application development. Request params need to be passed as json along with content-type header in order for the Rails API to ca...

1 min read · [tenzinchemi.in](https://tenzinchemi.in/gotcha-request-spec?utm_source=hashnode&utm_medium=feed)

[Dec 17, 2025](https://hashnode.com/posts/gotcha-request-spec/69429a21674f0520b82f87e3)

### [Ruby |= pipe assignment operator](https://tenzinchemi.in/ruby-pipe-assignment-operator?utm_source=hashnode&utm_medium=feed)

irb(main):021> arr = \[3\] => \[3\] irb(main):022> arr |= \[3\] => \[3\] irb(main):023> arr |= \[3, 2\] => \[3, 2\] irb(main):024> arr |= \[3, 2\] => \[3, 2\]

1 min read · [tenzinchemi.in](https://tenzinchemi.in/ruby-pipe-assignment-operator?utm_source=hashnode&utm_medium=feed)

[Dec 11, 2025](https://hashnode.com/posts/ruby-pipe-assignment-operator/693a6e7c7d699abf5b6e4982)

### [Remove Nested module constant in ruby](https://tenzinchemi.in/remove-nested-module-constant-in-ruby?utm_source=hashnode&utm_medium=feed)

You might have seen this solution. Object.send(:remove\_const, :ExampleClass) But what if you want to remove namespaced classes in Ruby. You can use the same method, but instead of Object use the parent module where your class is nested. module App ...

1 min read · [tenzinchemi.in](https://tenzinchemi.in/remove-nested-module-constant-in-ruby?utm_source=hashnode&utm_medium=feed)

[Oct 18, 2023](https://hashnode.com/posts/remove-nested-module-constant-in-ruby/65300ebaea449e8bb18f2d2e)

### [Polygon's interior and exterior angle](https://tenzinchemi.in/polygons-interior-and-exterior-angle?utm_source=hashnode&utm_medium=feed)

A polygon always has an exterior angle sum to 360 no matter the number of sides or their width. A triangle has an exterior angle sum equal to 360 A square has an exterior angle sum equal to 360 A pentagon has an exterior angle sum equal to 360 Quadri...

1 min read · [tenzinchemi.in](https://tenzinchemi.in/polygons-interior-and-exterior-angle?utm_source=hashnode&utm_medium=feed)

[Sep 22, 2023](https://hashnode.com/posts/polygons-interior-and-exterior-angle/650d0b424c1ed972106ef387)

### [Parabolas wrapped in equation](https://tenzinchemi.in/parabolas-wrapped-in-equation?utm_source=hashnode&utm_medium=feed)

y = a(x-h)^2 + k If there's a parabola. You can find and tweak it with these parameters 'a' defines whether parabola is facing upward of downward 'h' defines horizontal position of the vertex of parabola. 'k' defines the narrowness of parabola. ...

1 min read · [tenzinchemi.in](https://tenzinchemi.in/parabolas-wrapped-in-equation?utm_source=hashnode&utm_medium=feed)

[Sep 20, 2023](https://hashnode.com/posts/parabolas-wrapped-in-equation/650a5f71c63ad7079f5767ec)
