FirstDEV blog
  • Home
  • Ruby
  • Ruby On Rails
  • Tips
  • Solutions
  • About
Subscribe
cdrrazan

Rajan Bhattarai

Full Stack Software Developer! ๐Ÿ’ป ๐Ÿก Grad. Student, MCS. ๐ŸŽ“ Class of '23. GitKraken Ambassador ๐Ÿ‡ณ๐Ÿ‡ต 2021/22. Works with Ruby / Rails. Photography when no coding. Also tweets a lot at TW / @cdrrazan!

118 posts •
Developer tips

Code Review Etiquette โ€” How to Give and Receive Feedback That Actually Helps

Code review is one of the most consequential daily interactions in software development, and itโ€™s rarely taught explicitly. Most developers learn by osmosis โ€” they absorb the norms of whatever team they first

Rajan Bhattarai Rajan Bhattarai 11 min read
Ruby-code

Parse And Format Dates Cleanly In Ruby Without Common Pitfalls

Date and time handling trips up even experienced Ruby developers โ€” timezone confusion, Date vs Time vs DateTime, string parsing that silently returns nil. This covers the clean patterns for parsing, formatting, and

Rajan Bhattarai Rajan Bhattarai 1 min read
Ruby 3

Enumerable#lazy โ€” Processing Large Collections Without Loading Them All

Rubyโ€™s Enumerable is one of the languageโ€™s best features โ€” map, select, reject, reduce, and dozens of other methods that make working with collections feel natural. But every one of those methods is

Rajan Bhattarai Rajan Bhattarai 8 min read
Rails

Rails Credentials โ€” Managing Secrets Without Leaking Them

Every Rails app has secrets โ€” API keys, database passwords, third-party service tokens. The bad old pattern was storing these in environment variables set manually on each server, or worse, hardcoded in config

Rajan Bhattarai Rajan Bhattarai 7 min read
Developer tips

LinkedIn for Developers โ€” Building a Profile That Works Without Feeling Fake

Most developers have a complicated relationship with LinkedIn. They filled out a profile years ago, accepted a few connection requests, and now get occasional recruiter messages for jobs theyโ€™re not interested in while

Rajan Bhattarai Rajan Bhattarai 10 min read
Ruby-code

Convert Strings Between Snake_case And Camelcase In Ruby

When bridging Ruby code (which uses snake_case) with JavaScript APIs or JSON payloads (which often use camelCase), you regularly need to convert between the two formats. Ruby and Rails provide clean ways to

Rajan Bhattarai Rajan Bhattarai 1 min read
Ruby 3

Ruby's Comparable Module โ€” Custom Ordering That Just Works

Youโ€™ve probably used sort, min, max, and between? on numbers and strings without thinking much about them. They work because those classes already implement comparison logic Rubyโ€™s core can use. But the moment

Rajan Bhattarai Rajan Bhattarai 7 min read
Rails

Action Mailer โ€” Sending Emails in Rails Without the Headaches

Email is one of those features every app eventually needs and nobody particularly wants to build. Welcome emails, password resets, weekly digests, transactional notifications โ€” the list grows quickly once your app is

Rajan Bhattarai Rajan Bhattarai 7 min read
Developer tips

How to Get Your First Tech Conference Talk Accepted

Speaking at a tech conference is one of those career milestones that seems impossibly far away until someone tells you the actual submission process, at which point it becomes merely uncomfortable. The secret

Rajan Bhattarai Rajan Bhattarai 9 min read
« Newer Posts Page 10 of 14 Older Posts »
FirstDEV blog © 2026
Proudly published with Jekyll & using Jasper2
Latest Posts Twitter
FirstDEV blog

Check viewARU - Brand Newsletter!

Newsletter to DEVs by DEVs - boost your Personal Brand & career! ๐Ÿš€