ruby-on-rails

  1. Avoid polluting MVC: an opinionated Rubyist view

    The MVC architecture, today's standard for at least web development, if abused, often turns into a nightmare of objects sharing a lot of responsibilities, and spanning across different areas, knowing about different objects, essentially defeating the holy grail purpose of separation of concerns. We shouldn't be polluting MVC, we should…

    on ruby ruby-on-rails API design-patterns

  2. A handy cheatsheet for Ruby and Rails development inside Vim

    A while ago, I published a cheatsheet that I wanted to keep handy while doing Ruby and Rails development inside Vim. It's the result of years using it as my main editor, and important plugins that I've incorporated throughout the years. Since it has been downloaded a lot of times,…

    on ruby editor vim cheatsheet ruby-on-rails

  3. The gems that keep you honest: code quality in Ruby

    I'm not a great programmer; I'm just a good programmer with great habits. The first time I read this, was a galvanizing moment in my programming career. A relief by understanding that we're not supposed to be perfect and there's absolutely no way that you can spot every single problem…

    on ruby ruby-on-rails

  4. JWT with Rails, Sorcery and AngularJS

    JWT (short for JSON Web Token) is a compact URL-safe means of representing claims to be transferred between two parties, as defined by the standard. It's usually used for authentication and recently is being favored over the classic cookie scheme in Single Page Applications (SPAs). Although cookies and server-side authentication…

    on ruby ruby-on-rails angularjs

  5. My Answers to... "Ruby on Rails Interview Questions: Advanced"

    Every now and then, I stumble upon some post that raises interesting questions worth to be answered or commented upon, hence the *"My Answers to..." series.* This one in particular is worth the name since they're explicitly relating to interview questions, which were formulated in a very interesting blog post…

    on career ruby-on-rails