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 •
Ruby-code

Normalize Input Parameters By Symbolizing Keys And Stripping Empty Strings In Ruby

When working with user-submitted forms or API input, itโ€™s common to receive params with string keys and empty string values.

Rajan Bhattarai Rajan Bhattarai 1 min read
Ruby 3

Exploring Endless Method Definitions in Ruby

Ruby has a reputation for flexibility and expressiveness, often encouraging developers to explore boundaries that many other languages restrict.

Rajan Bhattarai Rajan Bhattarai 8 min read
Rails

Exploring the New Basic Authentication Generator in Rails 8

Rails 8 introduces a built-in authentication generator, streamlining the process of adding basic authentication to Rails applications.

Rajan Bhattarai Rajan Bhattarai 5 min read
Developer tips

The Right Way to Write Documentation for Codebases

Effective documentation is crucial for the success and maintainability of any codebase. It serves as a roadmap for developers, aiding in understanding, collaboration, and future development.

Rajan Bhattarai Rajan Bhattarai 8 min read
Ruby 3

Mastering Rubyโ€™s Closures - Blocks, Procs, and Lambdas Explained

As seasoned Ruby developers, we often leverage the languageโ€™s expressive syntax and powerful features to write clean and efficient code.

Rajan Bhattarai Rajan Bhattarai 6 min read
Rails

Optimizing N+1 Queries in Rails

In the realm of Ruby on Rails development, the N+1 query problem is a notorious performance bottleneck.

Rajan Bhattarai Rajan Bhattarai 5 min read
Developer tips

How to write better Commit messages

In collaborative software development, commit messages serve as the narrative thread that weaves together the evolution of a codebase.

Rajan Bhattarai Rajan Bhattarai 5 min read
Ruby 3

How Keyword Arguments Work in Ruby 3

Ruby 3.0 introduced significant changes to how keyword arguments are handled, aiming to enhance clarity and reduce ambiguity in method calls.

Rajan Bhattarai Rajan Bhattarai 4 min read
Rails

Security features in Rails 7 & 8

Ruby on Rails has long been recognized for its emphasis on security, offering developers a robust framework to build secure web applications.

Rajan Bhattarai Rajan Bhattarai 7 min read
« Newer Posts Page 13 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! ๐Ÿš€