← Home About Archive Also on Micro.blog
  • Finished reading: The Twelve Topsy-Turvy, Very Messy Days of Christmas by James Patterson 📚

    → 6:15 AM, Dec 31
  • Rails Website Revamp: Post 2

    Differences between the old and updated website:

    Old (versions have been updated semi-regularly):

    • Ruby 2.7.2
    • Rails 6.0.3
    • PostgreSQL
    • jQuery
    • Bootstrap
    • CoffeeScript
    • TurboLinks
    • Asset Pipeline

    Updated (will keep versions currently until I go live):

    • ruby 3.1.3
    • Rails 7.0.4
    • PostgreSQL
    • [Chota] (https://jenil.github.io/chota/) - instead of Bootstrap/SCSS.
    • Hotwire/Turbo/Stimulus - no jQuery, CoffeeScript
    • Import Maps, minimal or no asset pipeline, Webpack, NodeJS

    In addition to adding features, the changes to CSS and Javascript means that all of the views need to be redone. Chota is a very light-weight CSS framework. It contains just enough CSS to keep me happy. I can add other helper CSS classes myself. Stimulus is also working well so far.

    There are probably other differences. I’ll mention them later, as they occur to me.

    → 12:26 PM, Dec 28
  • Rails Website Revamp: Post 1

    I’m updating an existing website. The design is outdated (almost 8 years old), and it doesn’t work very well on phones, which is how a lot of our users access it. Also, to make my task a bit more complicated, in addition to the design refresh, I’m taking the opportunity to add a bunch of new features.

    In a future post, I’ll go into details about how my new project is set up. But first… a word about authentication!

    I read an interesting post about [Authentication Zero] (https://codewithrails.com/rails-authentication). It made me want to ditch [Devise] (https://github.com/heartcombo/devise), which I’ve never truly understood, and use Authentication Zero.

    I spent several days looking into it, but, in the end, I’m going to stay with Devise. If this was a new project, I’d switch, but this project is almost 8 years old, and I’ve got enough to do without revamping the entire authentication system.

    If you’re starting a new project, take a look at Authentication Zero!

    → 1:56 PM, Dec 26
  • First Post

    Everyone needs a first post, right? I haven’t blogged (or posted) anywhere regularly for a long time. Hopefully, that will change.

    I’m currently updating a website that hasn’t been updated in about 8 years. It’s written in Rails. I’m going to write about my progress and technical decisions as I progress. I’m also trying to break my sugar and carb addiction, so expect many posts about those failures (and hopefully, successes).

    → 10:37 AM, Dec 26
  • RSS
  • JSON Feed
  • Micro.blog