
Recently, I heard that AI is amazing, so a former developer who was unemployed for three years tried to create a web service.【Rails】
- Rails
- ClaudeCode
- Personal Development
- AI
As the title says, I've been unemployed for about three years. Three years ago, I was creating websites with Ruby on Rails.
At that time, GitHub Copilot had just launched, and I was saying things like "This auto-completion is amazing ~ ~ ~". Since recent AI can create a proper service in an instant, I decided to try it myself.
I'm still participating in AtCoder (competitive programming) occasionally, so I'm not completely out of touch with IT (I'm still a brown rating, though).
Trigger
DHH was talking about AI all the time → It seems DHH is coming to Japan → I attended my first conference (Kaigi On Rails) → Everyone was only talking about AI → It seems I should try it.
Used AI
Claude Code (Opus 5.5)
I've always kept effort high.
With the Max plan, I never exceeded the limit.
Created Site
Site Name: Rails Helper Helper
It's designed for PCs, so it would be a disaster on mobile phones.
A site that allows you to see HTML and form values by tweaking various arguments of Ruby on Rails' Action View helper methods.
It actually creates ERB strings and outputs the results.
This service is pointless in this AI era, but back when I was tinkering with Rails, I was wondering if someone would create such a site, or if it was impossible.
A list of stress points I remember about the helpers in Rails, within the range of what I can recall.- The official API site has insufficient explanations and is only in English.
- You have to rely on individual articles from Qiita or other sources. However, what I really want is a consolidated reference.
- Rails documentation (railsdoc.com) is said to not be official, but isn't there any other place to look?
- Each option is either just about HTML attributes or about what Rails processes, but it's too messy.
- Since it's a web framework, the output results should be shown on the web.
- I did some local tweaking and checking, and it took a lot of time
- Stop introducing these meaningless arguments like html_options
- grouped_options_for_select? options_from_collection_for_select? option_groups_from_collection_for_select?
My thoughts on creating this
It took an incredibly long time
I started this because I heard the latest AI can create it in an instant, but it probably took around 150 hours. Even if I did it myself, it would take 30 times longer, but it's definitely not an instant.
In particular, this site has a lot of explanatory text, and about 70% of the time was spent checking and correcting it (to be written next).
I'm not good at writing articles...?
-
It wants to express the same content in various ways
Every time, I had to decide which one to follow and repeatedly do uniform corrections. Sometimes more than 100 places needed correction for each sentence, and some corrections made the text unnatural, so I had to correct again. It was really tough. -
I prefer vague expressions
It's often unclear whether it's referring to a value or an attribute, or whether it's talking about Rails or HTML. In the initial generated text, it's often unclear what exactly is being discussed. Every time I had to ask, "What is this?" and "What does this mean?" and get it corrected. -
It wants to add points
It's something like, "In the case of xxx, because of xxx, we do xxx." -
It doesn't disappear even when I point it out
Every time I pointed it out, I added it to the rules, but sometimes when I reviewed all the pages, I had to correct it again every time. When I finally had all the pages reviewed, another 221 corrections came up. -
I just skimmed through the latter part and committed it
In the beginning, I was checking the text corrections quite strictly, but since there were so many and it was so hard, I gradually lost my motivation.
I thought I could just write it like this in CLAUDE.md
- Please write it in natural Japanese
- Please stop using vague expressions
- Please unify the expressions and terminology
Actually, I had no knowledge about these instructions. If I had known properly, I could have shortened it to about 100 hours.
Don't leave irrelevant comments in the source
Currently, there are a lot of irrelevant comments left in the source.
I'm placing it because I don't want to see the AI-generated text anymore. I think it would get better if it were rule-based, but I'm afraid it would take a lot of time to create those rules.
I don't even know what the AI is doing anymore
The latter instructions just kept getting voided. "Create the next one" and "Review all pages." As a human, I don't know what "next" means or what exactly I should review.
I don't understand the content of the rules AI added to myself.Not checking the source code
At first, I thought, "It seems like some people are leaving everything to AI and not even doing reviews anymore. As a developer, you'd have to at least check the source code, right?" But I haven't looked at it at all. In the midst of instructions becoming meaningless, I've lost the will to check the source code.
I believe everything AI says. This site has no issues at all, and all pages are working properly.
Empty
I heard that I could avoid coding entirely, but it's painful that my brainpower isn't used during AI development.
What should I be doing while AI is working?
At first, I used to look at the source code or think about the next instructions while AI was working, but gradually switching between those tasks became painful. I don't know what I was doing... Even though time passed, I feel like I did nothing.
About Fable 5.2
A model that came up later. After trying it once, it consumed tokens instantly. It disappeared at a speed of about four times, so I think I'll never use it again.
Go to list of users who liked
Go to list of comments
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme



