12/01/2026 updated


100 % available
Senior Ruby on Rails Developer | Backend, Testing & System Integration | 20+ years experience
Galten, Denmark
Only remote
AP Degree in Computer Science (Datamatiker), Aarhus Business College, 2002About me
Married and father of five. Chairman of a local scout group in Galten, Denmark.
GitHub ActionsJavaScriptAmazon Web ServicesCode ReviewContinuous IntegrationLinuxPostgreSQLNGINXScrum MethodologyRuby On RailsRedisRubySimple Object Access Protocol (SOAP)CapybaraTest-Driven Development (TDD)
Experienced Ruby on Rails developer and freelance consultant with 24+ years in software development and 15+ years specialising in Rails. Proven track record designing, building and maintaining complex, mission-critical systems in the energy trading sector – most recently 13 years as lead developer on Whitelabels' electricity and gas trading platform (SaaS). Expert in backend development, system integration, database design and CI/CD, with a strong focus on code quality, testing and scalable solutions.
Ruby on Rails: Ruby 2.x–4.x, Rails 4.x–8.x, Sidekiq, Resque, ActiveAdmin, Turbolinks, Bootstrap, Haml/Slim/ERB
Backend & integration: REST APIs, SOAP/WSDL, OAuth2, JSON Schema, SFTP, AS4/EDIFACT (Holodeck B2B), ebIX XML, WS-Security, PKI/client certificates
Energy market: Energinet Datahub 2 and 3 (CIM/JSON), Norwegian Elhub, Evida gas market (EDI 5.0/AS4), billing, pricing and settlement, Nord Pool
Databases: PostgreSQL, Redis, MySQL, Oracle – database design and optimisation
Testing & quality: RSpec, Minitest, Capybara, FactoryBot, TDD, mutation testing (Mutant), code review, refactoring, RuboCop, Brakeman; author of crap4r, an open-source CRAP-score tool for Ruby
CI/CD & operations: GitHub Actions, Travis CI, Capistrano, Docker, nginx, Linux, AWS (EC2, RDS, S3)
Payments: Nets/PBS (Betalingsservice), card payments via REST APIs
AI-assisted development: Claude Code, AI-assisted workflows and code review
Architecture & methods: technical architecture, API design, Event Modeling, Event Sourcing, CQRS, Domain-Driven Design, Scrum
Earlier experience: Java/Java EE (JBoss, WebLogic, EJB, JMS), C#/.NET, SharePoint, Adobe CQ
Clients include Whitelabels, Systematic, Logica/CGI, Silkeborg Data, the Danish Ministry of Education and Grundfos. Based in Galten (Aarhus area), Denmark.
Experience
Professional experience10+ years
Freelancer since2011
Languages
DanishNative speakerGermanBasic knowledgeEnglishFluentNorwegianBasic knowledgeSwedishBasic knowledge
Project history
crap4r – CRAP score for Ruby (open source). Ruby port of Uncle Bob's crap4java: a CLI tool that calculates the CRAP score (Change Risk Anti-Patterns) for each method from cyclomatic complexity and SimpleCov test coverage, and flags complex, poorly tested methods above a threshold. Can run on the whole codebase, selected paths or only changed files and returns exit codes, so it works as a CI gate and as feedback to AI agents during development, together with mutation testing and property-based testing. Built with Claude, tested with RSpec and Mutant. MIT licence. Code: github.com/kjeldahl/crap4r.
Technologies: Ruby, SimpleCov, CLI, Ruby gems, CI, Mutant, mutation testing, RSpec, Claude
Datahub 3 migration. Migration of the platform's integration from Datahub 2 to Energinet's Datahub 3 in three phases over approx. 1.5 years with parallel operation: aggregated metering and settlement data, metering data for individual metering points, and all market processes (supplier switch, move, cancellation, service requests and price catalogue). The data layer was rewritten inspired by the market architecture from the Elhub integration; communication via CIM messages in JSON over REST with OAuth2. Developed phase 1 and parts of phase 2, and was one of two developers on phase 3. Actor tests for each phase. Built dedicated Claude skills to read BRS guides and test scenarios and turn them into tasks, so Claude could implement processes, message sequences and tests by design. Phase 3 went live as planned in week 38, 2026.
Technologies: Ruby on Rails, Datahub 3, CIM (JSON), REST, OAuth2, JSON Schema, Faraday, Sidekiq, PostgreSQL, Claude Code
Maintenance and modernisation of the codebase. Ongoing maintenance and modernisation of the platform's large Rails codebase. Led the Rails upgrades from 3.2 via 4.0/4.1 (2015) to 4.2 (2017) plus upgrades of Ruby and dependencies. Upgrades were secured with parallel Rails versions in CI, the parallel test suite and depfu for continuous dependency updates. Merged eight repositories into one monorepo (2022) and extracted reusable code into gems. The platform has since moved to Rails LTS 4.2.
Technologies: Ruby on Rails, Ruby, Ruby gems, depfu, GitHub Actions, monorepo, refactoring
Certificates
Agentic Engineer
Nebulit – Martin Dilger2026
From Legacy to Domain-Driven Rails
Arkency2024
Anti-IF 2.0
Arkency2022
Rails Architect Masterclass
Arkency2019
Functional Programming Principles in Scala
Coursera (EPFL)2012