Prasanna Natarajan

Prasanna Natarajan @npras

About: Ruby, Rails dev. Constantly astounded by my ignorance. Interested in books, blogs, bodyweight strength and parenting.

Location:
Bengaluru
Joined:
Aug 22, 2018

Prasanna Natarajan
articles - 10 total

Scala vs Ruby - Creating a while loop DSL

I'm learning Scala. It's a powerful language with lots of features. One such thing is called the by-n...

Learn More 9 0Feb 15 '20

Building RSS feeds for static-sites built with nanoc

In my last post, I mentioned about why Nanoc is a great choice for building your little static site i...

Learn More 7 0Oct 20 '19

Ruby developers! Try Nanoc for your static sites. It's great.

Nanoc is a static site generator just like Jekyll and Hugo. For my site, after trying Jekyll, Hugo,...

Learn More 11 0Oct 19 '19

Rails testing tip: Remember to revert your in-memory configuration setting changes in each testcase

In Rails, each test case is wrapped in a database transaction. With both minitest and rspec. Once the...

Learn More 7 0Oct 8 '19

I'm a MonkeyPatch Debugger

In startups the deployment cycle will be faster compared to big and old companies. It takes time for...

Learn More 5 0Sep 24 '19

Javascript Inheritance explained in plain English (aka Ruby)

Ok, don't get mad at the title and leave too soon. I put it for 2 reasons: My programming mother-tong...

Learn More 5 1Sep 19 '19

A Primer about Javascript's Prototype

Look, I know you are all cool people using the latest ES6 and 7 features, classes and VR and AR and a...

Learn More 43 2Sep 14 '19

Rails Authentication From Scratch. Going Beyond Railscasts

If you have to implement authentication in your rails app, Devise is your safest option. Rolling your...

Learn More 57 0Sep 13 '19

Tips to save time with alias command (not what you think)

Tuesdays are not as cool as Mondays or Fridays. But it's never shabby for productivity tidbits. Here'...

Learn More 11 0Sep 10 '19

Everything is a search problem. Master your search skills.

Once during a meeting, my manager said to us "In this age of information and the internet, everything...

Learn More 9 0Sep 8 '19