<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww" -->

---
title: I Tested Rails Baseline by Leaving Architecture Out of...
description: An author tested his Rails Baseline starter kit by handing packaged releases to fresh AI coding agent sessions (Claude and Codex) with product prompts that...
canonical: https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I Tested Rails Baseline by Leaving Architecture Out of the Prompt | daily.dev
og:description: An author tested his Rails Baseline starter kit by handing packaged releases to fresh AI coding agent sessions (Claude and Codex) with product prompts that...
og:url: https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww
og:image: https://api.daily.dev/og/posts/EzT5I08ww.png
og:image:alt: I Tested Rails Baseline by Leaving Architecture Out of the Prompt
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I Tested Rails Baseline by Leaving Architecture Out of the Prompt

**[Ruby Flow](https://daily.dev/sources/rubyflow)** · 9 min read · 0 upvotes · 0 comments

## Summary

An author tested his Rails Baseline starter kit by handing packaged releases to fresh AI coding agent sessions (Claude and Codex) with product prompts that deliberately omitted architectural instructions. Both agents largely inferred existing patterns (tenancy, authorization via Pundit, entitlements, public IDs, Solid Queue jobs) without being told to use them. Gaps surfaced too: no guidance on generated file storage led to a new documentation recipe rather than a new subsystem, and the endpoint-monitor test surfaced a real SSRF implementation challenge and a polymorphic-routing bug caused by a model/namespace naming collision. The author concludes that a starter's strength lies in clear, reusable local patterns plus targeted recipes rather than anticipatory abstractions, and plans to keep testing future releases this way.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://robrace.dev/blog/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt>

## Questions this post answers

### How should an SSRF-safe outbound HTTP request be implemented for a Rails app that checks user-supplied URLs?

A safe implementation resolves the URL's DNS itself, rejects private and other unsafe address ranges, pins the connection to the validated resolved address rather than re-resolving, uses explicit timeouts, verifies TLS, disables environment proxies, and does not follow redirects. Simply checking that a URL starts with https:// is not sufficient protection against SSRF.

_daily.dev surfaces security patterns like SSRF mitigation for developers hardening user-supplied URL requests._

### Why would a Rails polymorphic route helper like http_monitor_path not be found even though the model exists?

Polymorphic routing derives the route helper name from the model's class name, so if the route resource uses a different name than the model class, Rails looks for a helper that does not exist. In one case a model named HttpMonitor (renamed from Monitor due to a Ruby constant collision) still had routes using the original resource name, causing polymorphic_path to fail with a missing http_monitor_path while the actual helper was monitor_path.

_Developers debugging Rails routing mismatches can track ordinary framework gotchas like this on daily.dev._

## Similar posts on daily.dev

- [Rails Baseline — A Rails SaaS Starter Built for Coding Agents](https://daily.dev/posts/rails-baseline-a-rails-saas-starter-built-for-coding-agents-lvvf7nlhd) · Ruby Flow · 0 upvotes · 0 comments
- [Try the Rails Architecture Checkup — Rails Baseline](https://daily.dev/posts/try-the-rails-architecture-checkup-rails-baseline-gskkldvp9) · Ruby Flow · 0 upvotes · 0 comments
- [Rust off Rails: The opinionated web stack for the AI era](https://daily.dev/posts/rust-off-rails-the-opinionated-web-stack-for-the-ai-era-zhibclxde) · Hacker News · 0 upvotes · 0 comments
- [Look at all the things he's not doing](https://daily.dev/posts/look-at-all-the-things-he-s-not-doing-e6xpi9hak) · RUBYLAND · 0 upvotes · 0 comments
- [2 Martians, greenfield to MVP in 4 weeks: agentic coding on Rails—Martian Chronicles, Evil Martians’ team blog](https://daily.dev/posts/2-martians-greenfield-to-mvp-in-4-weeks-agentic-coding-on-rails-martian-chronicles-evil-martians--jfk5nweey) · Martian Chronicles · 5 upvotes · 1 comments

---

Tags: [#security](https://daily.dev/tags/security), [#architecture](https://daily.dev/tags/architecture), [#rails](https://daily.dev/tags/rails), [#claude](https://daily.dev/tags/claude)

[View this post on daily.dev](https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I Tested Rails Baseline by Leaving Architecture Out of the Prompt","url":"https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww"},"datePublished":"2026-08-28T05:15:53.493Z","dateModified":"2026-08-28T05:19:48.557Z","description":"An author tested his Rails Baseline starter kit by handing packaged releases to fresh AI coding agent sessions (Claude and Codex) with product prompts that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8ba9e57e041a00f378294791303a97a8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8ba9e57e041a00f378294791303a97a8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Ruby Flow","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Ruby Flow","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a21aaa8bcbbf448193a016895c90a0e1","url":"https://daily.dev/sources/rubyflow"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,architecture,rails,claude","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Ruby Flow","item":"https://daily.dev/sources/rubyflow"},{"@type":"ListItem","position":3,"name":"I Tested Rails Baseline by Leaving Architecture Out of the Prompt"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-tested-rails-baseline-by-leaving-architecture-out-of-the-prompt-ezt5i08ww#faq","mainEntity":[{"@type":"Question","name":"How should an SSRF-safe outbound HTTP request be implemented for a Rails app that checks user-supplied URLs?","acceptedAnswer":{"@type":"Answer","text":"A safe implementation resolves the URL's DNS itself, rejects private and other unsafe address ranges, pins the connection to the validated resolved address rather than re-resolving, uses explicit timeouts, verifies TLS, disables environment proxies, and does not follow redirects. Simply checking that a URL starts with https:// is not sufficient protection against SSRF. daily.dev surfaces security patterns like SSRF mitigation for developers hardening user-supplied URL requests."}},{"@type":"Question","name":"Why would a Rails polymorphic route helper like http_monitor_path not be found even though the model exists?","acceptedAnswer":{"@type":"Answer","text":"Polymorphic routing derives the route helper name from the model's class name, so if the route resource uses a different name than the model class, Rails looks for a helper that does not exist. In one case a model named HttpMonitor (renamed from Monitor due to a Ruby constant collision) still had routes using the original resource name, causing polymorphic_path to fail with a missing http_monitor_path while the actual helper was monitor_path. Developers debugging Rails routing mismatches can track ordinary framework gotchas like this on daily.dev."}}]}
```

