All posts

Ruby on Rails

22 posts

  1. Several Ruby files pass through one persistent RuboCop engine and emerge with successful checks.

    3 min read

    Making RuboCop 20x Faster

    How work on rubocop-daemon made formatting on save much faster in my 2018 Ruby development setup.

  2. A model attribute changes across a save boundary while its previous value remains visible.

    1 min read

    Rails 5.1 ActiveModel::Dirty Changes

    You might have seen some deprecation warnings when updating to Rails 5.1+: DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of

  3. Admin resources feed a generated matrix of passing index and show tests.

    2 min read

    Dynamically Generate Controller Specs for ActiveAdmin

    I use ActiveAdmin (and the arctic_admin theme) to build DocSpring’s internal admin dashboard: ActiveAdmin has a few quirks and bugs, but I enjoy working with it overall. Some other popular

  4. Ctrl and C keys restart a process inside a continuing terminal loop.

    1 min read

    How to Use Ctrl+C to Restart a Process in a Loop

    I start my Rails development processes by using AppleScript to set up iTerm2. I often need to restart my Rails processes when I change something in config/initializers, or if I add

  5. An arranged terminal workspace contains Rails, Sidekiq, webpack, and console sessions.

    4 min read

    Using AppleScript to set up iTerm2 for Rails Development

    A Rails developer often needs to start multiple processes while working on an application. You might need to run rails server, sidekiq to process background jobs, and webpack to compile your front-

Try DocSpring with your own documents

Upload a PDF or a Word document, or create an HTML template, then send a test request. No credit card needed.

Blog posts and product news by email

New articles and product changes, once a month.