DEV Community

loading...
matt swanson profile picture

matt swanson

Full-stack product engineer with 10 years experience building web applications. Keep it boring.

Location Indianapolis, IN Joined Joined on  Twitter logo Github logo Website logo

Education

Purdue

Work

Lead Product Engineer at SEP

Building lightweight components with Rails Helpers and Stimulus

Building lightweight components with Rails Helpers and Stimulus

Reactions 5 Comments
2 min read
Combine `redirect_to` and the `anchor` option

Combine `redirect_to` and the `anchor` option

Reactions 8 Comments
2 min read
Lazy-loading content with Turbo Frames and skeleton loader

Lazy-loading content with Turbo Frames and skeleton loader

Reactions 11 Comments
3 min read
Use `to_sql` to see what query ActiveRecord will generate

Use `to_sql` to see what query ActiveRecord will generate

Reactions 9 Comments
2 min read
Prefer returning chainable ActiveRecord objects

Prefer returning chainable ActiveRecord objects

Reactions 15 Comments 2
2 min read
Rails validations: unique within a certain scope

Rails validations: unique within a certain scope

Reactions 9 Comments
2 min read
Boring breadcrumbs for Rails

Boring breadcrumbs for Rails

Reactions 8 Comments
2 min read
Sharing common code between Rails controllers with `Scoped` pattern

Sharing common code between Rails controllers with `Scoped` pattern

Reactions 13 Comments
1 min read
Run different ActiveRecord validations based on context

Run different ActiveRecord validations based on context

Reactions 5 Comments
2 min read
Find records missing an association with `where.missing`

Find records missing an association with `where.missing`

Reactions 8 Comments
2 min read
Testing multiple sessions in the same test with Capybara

Testing multiple sessions in the same test with Capybara

Reactions 6 Comments
1 min read
Pluck single values out of ActiveRecord models or Enumerables

Pluck single values out of ActiveRecord models or Enumerables

Reactions 6 Comments 1
2 min read
Never mix up greater/less than when comparing dates again

Never mix up greater/less than when comparing dates again

Reactions 12 Comments
1 min read
Super readable String operations with `delete_prefix` and `delete_suffix`

Super readable String operations with `delete_prefix` and `delete_suffix`

Reactions 6 Comments
2 min read
Setting CSS classes in Markdown with Jekyll

Setting CSS classes in Markdown with Jekyll

Reactions 3 Comments
1 min read
Use Heroku Dataclips to share query and do ad-hoc data exports

Use Heroku Dataclips to share query and do ad-hoc data exports

Reactions 2 Comments
1 min read
Ensure required environment variables are set when booting up Rails

Ensure required environment variables are set when booting up Rails

Reactions 7 Comments
1 min read
Search and debug gems with `bundle open`

Search and debug gems with `bundle open`

Reactions 12 Comments
1 min read
Automatically cast params with the Rails Attributes API

Automatically cast params with the Rails Attributes API

Reactions 12 Comments 1
3 min read
Show relevant chunks of text with Rails `excerpt` helper

Show relevant chunks of text with Rails `excerpt` helper

Reactions 3 Comments
2 min read
Use Rails `link_to_unless_current` for navigation links

Use Rails `link_to_unless_current` for navigation links

Reactions 6 Comments 1
2 min read
Use Rails `cycle` to avoid `i % 2 == 0` in your view loops

Use Rails `cycle` to avoid `i % 2 == 0` in your view loops

Comments
2 min read
Use the Rails helper `highlight` when showing search results

Use the Rails helper `highlight` when showing search results

Reactions 6 Comments
2 min read
Magic Responsive Tables with Stimulus and IntersectionObserver

Magic Responsive Tables with Stimulus and IntersectionObserver

Reactions 2 Comments
7 min read
Hacktoberfest Recap: Open source Ruby/Rails work in 2020

Hacktoberfest Recap: Open source Ruby/Rails work in 2020

Comments
5 min read
Building GitHub-style Hovercards with StimulusJS and HTML-over-the-wire

Building GitHub-style Hovercards with StimulusJS and HTML-over-the-wire

Reactions 2 Comments 1
10 min read
Feature Flags: The simple way to de-stress production releases

Feature Flags: The simple way to de-stress production releases

Reactions 8 Comments
7 min read
Spring Cleaning: Tidying up your codebase

Spring Cleaning: Tidying up your codebase

Reactions 1 Comments
8 min read
Building a Rails CI pipeline with GitHub Actions

Building a Rails CI pipeline with GitHub Actions

Comments
8 min read
Wrangling slow reports, large file exports, and long-running tasks in Rails with Active Job

Wrangling slow reports, large file exports, and long-running tasks in Rails with Active Job

Reactions 1 Comments
16 min read
Managing Rails schema and data migrations without losing your mind

Managing Rails schema and data migrations without losing your mind

Comments
6 min read
loading...