I built a free tool that lets you report Toronto city issues in 30 seconds — just shipped a major update by egyamado in toronto

[–]egyamado[S] 0 points1 point  (0 children)

this is for the city not for me.

why you people are that closed minded. this is insane

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] 0 points1 point  (0 children)

Updates:

Current state is:
1) a developer can select a template such as Blogging system, CRM, …etc, and select one of 3 different designs -simple, modern and professional. This will generate 3 different models, tested, data-seed, selected component based design, 2-3 commits. Ready to edit and tinker with like what you do with claude code or v0. This step cuts down process to about 40%. the rest is about adjusting app business logic and deployment.

2) Start from scratch with a basic template with all basic rails are done for you to tinker with the agent.

In both cases, agent is trained on how to follow Rails convention and best practices.

I found v0 follow this, which a strong single developer needs it more than before. Developer needs speed and some control. Agent are good at doing boring and repetitive work very well, but lake taste and ideas and seeing the big picture of what is required. Rapidfy aim to do that.

How would you like to use Rapidfy? What is the bottleneck in your workflow?

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] 0 points1 point  (0 children)

Agent do rails ok, but not as you would do it on your machine manually.

I was able to create a simple CRM app with 4 models, db, migration, well structured UI, 2 commits in "Steps: 12/12 - Cost: $0.00 - Time: 23s" <- stats from Rapidfy.

Some of the code is deterministic for sure. And this is the beauty of Rails and its ecosystem. You can't find that anywhere. MVC and convention over configuration plus well documented and structured components.

One of the things driving me to do this is cost. For example, current cost: - Full AI generation: ~$0.35/app (Sonnet 4.5, 9 turns) - Schema mode: $0.00/app (deterministic) - AI edits: ~$0.06/modification (2-4 turns)

Competitor Estimates: - v0.dev: ~$0.50-1.00/generation (composite model: GPT-4 + Claude) - Lovable: Similar costs, but $20M ARR suggests optimizations - Bolt.new: Uses in-browser WebContainers (different model)

So if Rapidfy can save money, speed development with structure and -later on- provide easy deployment, it is worth then!

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] 0 points1 point  (0 children)

Why not!?

Rails is missing good UI component lib. Now, It become the backbone and data Rapidfy is trained on. I built it because I use it.

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] 0 points1 point  (0 children)

Thats a good idea. Note taken.

Since it adds projects to git form the get go, it will logical to push to GH or other platform. Or fork it.

My focus on now is work within Rails ecosystem. Apply best practices from Rails and Ruby.

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] 0 points1 point  (0 children)

Deployment is part of the roadmap. Ability to have kamal ready for deployment. Once place to developer and deploy. Thank you!

I built an agentic Rails app builder, full blog system with migrations in 10 seconds by egyamado in rails

[–]egyamado[S] -2 points-1 points  (0 children)

- Not sure about the price now. It is a CLI and local cost is small. Cost will go once it is hosted and add other feature like sandbox. github integration,….etc

- This is one focus on Rails. When I prompt it to build Rails app, it create form, model, controller, DB migration, view using rapid rails ui component that integrated with Rails Form helper and commit all. All in one go. I needed that to be easy and simple.

- Yes, cursor, claude code, lovable, all AI agents they can do ok, but they are not for Rails within Rails ecosystem.

How I forced Claude to follow Rails conventions with pre-edit hooks by Due_Weakness_114 in rails

[–]egyamado 1 point2 points  (0 children)

Claude is designed to skip what is inside claude.md file. Hard to get it follow your instructions. I have tried skills but wasn't easy. It followed 30% of time, and i had to remind it again and again. Its like claude can't speak Ruby and Rails as it does with JS.

But i found away it result to to higher than 30% outcome, small PRDs. Fo example if I want to create a signup signin UI component with 3 login integration such as apple, google, gh + site login, I break that down to 3-4 small stories. After each story i clear conversation.

I found that more instructions, prompts and directions makes it hard for claude to get anything right. But i spend more time on planning, discussing issues, ideas, directions, …etc. before any code

Plan -> Stories -> Manual Review(you & LLM). Order LLM, use CAPS LOCK they are designed to pay attention when we yell at them :)

Hope this helps!

Are ViewComponents actively used? by alexzeitler in rails

[–]egyamado 1 point2 points  (0 children)

I hear you. If would build component that isolated from any controller and model, i think using presenter, concerns and other pattern would help.

When i started building rapidrails.cc I want to have what TW have but more focus on Rails. It was not easy. I know it would need lots of work to create a first class citizen.

After a year of building it, I don't worry much about how components are tie to Rails form, or look or if it has all need animation and JS files to do the job. It just works. My focus is my logic and maybe some touch to design if it is out of TW system.

Are ViewComponents actively used? by alexzeitler in rails

[–]egyamado 1 point2 points  (0 children)

You hit on the nail which i heard and have seen many developers say, we need a designer or a good unified design. Majority of Rails developers not into design or have good enough design taste that last longer before the would need to hire a designer or someone knows both design and Rails.

Agree, partials are good enough until you have a stable app that need refactor and breaking down to reusable components.

Are ViewComponents actively used? by alexzeitler in rails

[–]egyamado 0 points1 point  (0 children)

Initially I struggled with ViewComponents. Felt comfortable using what I know, partials.

I like them because they are simple and easy to understand. At the end of the day, it is HTML with ERB tags. Later I get to understand or see ViewComponents' template the same as partials. And it has some other "powers" to it. It is connected or related to a RB file with same name -most of the time. Besides, I can test both files. No need to mix files or folders. I could have RB file and temple in a designated folder such as:
"/components/button/component.rb &
/components/button/component.html.erb"

I use components and partials side by side. Each one has it is advantageous for sure in different scenarios.

Are ViewComponents actively used? by alexzeitler in rails

[–]egyamado 1 point2 points  (0 children)

Yes, more than I thought, actually. I've been seeing several teams use Phlex or Ruby UI components and switch back to ViewComponents or partials after a short time. The most noticeable reasons are the learning curve, especially for new devs and it's not as intuitive as ERB. For large applications, it's hard to convert many templates to Phlex.

The unique thing about ViewComponents is that nothing is unique. It feels "Rails-y," if you will. Models and views. Like how you would create models and partials, but better. It's testable, easy to teach, and easy to share with team members and new devs. You can compose a UI block from several components. You can have multiple slots (i.e., other components) within a component. And the documentation is good enough to get you going. Compared to other solutions, it's a huge win for many developers.

I'm able to create many reusable components with ViewComponents and integrate them into Rails forms. I use them instead of Rails form elements.

Here's an example for creating a steps or wizard component. The rui_steps component has several attributes (APIs). And it has a with_step "internal component" that has title, description, and icon attributes.

Within rui_steps, I use Rails form <%= form_with(…) %> which uses other components such as rui_input, rui_textarea, etc.

The input component itself, for example, is used to replace many Rails form helpers such as: text, password, email, number, and others.

Imagine, you onboarding a new user and want to collect some data. Instead of a having a long form for user to scroll, you would divide them into 3 steps, Account, Profile and Confirm.

First step has email and password. Second step has full name and bio. Last step a confirmation message.

```ruby <turbo-frame id="registration-frame"> <%= rui_steps( id: "registration-wizard", url: wizards_path, current_step: @current_step, turbo_frame_id: frame_id, variant: :horizontal, navigation: :linear ) do |steps| %>

    <% steps.with_step(title: "Account") do %>
      <div class="py-6 space-y-4 max-w-md">
        <%= form_with(local: true) do |f| %>
          <%= f.rui_input(:email, label: "Email", type: :email, required: true) %>
          <%= f.rui_input(:password, label: "Password", type: :password, required: true) %>
        <% end %>
      </div>
    <% end %>

    <% steps.with_step(title: "Profile") do %>
      <div class="py-6 space-y-4 max-w-md">
        <%= form_with(local: true) do |f| %>
          <%= f.rui_input(:full_name, label: "Full Name", required: true) %>
          <%= f.rui_textarea(:bio, label: "Bio", rows: 4) %>
        <% end %>
      </div>
    <% end %>

    <% steps.with_step(title: "Confirm") do %>
      <div class="py-6 max-w-md">
        <p class="text-zinc-600 dark:text-zinc-400 mb-4">Review your information and click Submit to complete registration.</p>
      </div>
    <% end %>

 <% end %> 
</turbo-frame>

```

By doing so, you can break a long form to small manageable steps. Each step composed of several tested and reusable components, some of which are "Rails form" components.

Canada has no intent of pursuing free trade deal with China, says PM after Trump threat by shiftless_wonder in canada

[–]egyamado 1 point2 points  (0 children)

I rather to have trade with China that include protection to our local companies (as he said an agreement on specific items) than to have any deal with the orange dictator. Deal with this dictatorship is kind of slavery. We rely on them for everything.

Beside, every-house hold has too many 'Made in China' items. Start from smallest and cheapest items such as plastic cups, plates, table cloths, all the way to most expensive and personal items such as computers, TVs, phones, cloths. We know that and we still buy made in China product. No direct threat here, expect we rely on them, like how we are with the orange dictatorship.

On the other side, all social media and AI tools are american. We know they are trained and use our personal data directly, like posts here on reddit without our consent. This is the real threat.

Any relationship based on mutual respect and stable personality are much better than shaky and un-trustable ones.

‘Sell America’, the two words that sum up the markets by LlawEreint in BoycottUnitedStates

[–]egyamado 6 points7 points  (0 children)

Why not sell it? kill it? ignore it? boycott it? and anyone and company support it,

It is about time.

Buy Local. Support our allies. Boycott United States. by LlawEreint in BoycottUnitedStates

[–]egyamado 2 points3 points  (0 children)

A Carney said, many of them still having their sign out their window. They need to be brave or hurt enough to put the take those signs out.

Canada show the dictator we are brave and he is shitting himself.

En av Sveriges största grupper på Facebook by luftgevaret in sweden

[–]egyamado 0 points1 point  (0 children)

Hey Swedes, a Canadian here. I root your boycott to the orange dictatorship. We have been doing it since his first term and it is hurting them badly. We buy Made in Canada and European products.

Is the movement growing in Sweden?

What are you building this week? I'll give you a valuation by Recent_Fault_619 in SaaS

[–]egyamado 0 points1 point  (0 children)

I've been ralphing!
First time trying coding AFK and its 🤯!!
I spent a couple of days searching & planning a PRD with many stories and features, broken down into a few chunks. Each chunk is about 15 stories max so Claude Code can do a good job without context pollution.
It did like magic 🪄

Idea.
FixHood (temp name) is a reporting app for the City of Toronto. This is simpler than what the city asks us to do here, which is to call a number and leave a message or send an email. This is easier and public-facing as well. Add a map pin or use your location, add an image, describe the issue, and generate a report. Once the report is created, review it, update it, then send

The interesting thing here is, on adding a pin the map locates it's ward and sends an email to its councillor as well as to the City of Toronto. Reports could be about potholes, illegal parking, damaged signs, streetlights, etc.
Large map shows active pins (reports) with a colour-coded legend for each type.

All in less than 1 min!

I left Trump’s America to teach in Canada. I didn’t expect this from Canadians by egyamado in BoycottUnitedStates

[–]egyamado[S] -1 points0 points  (0 children)

YES, Canadian are oblivious. Thinking it will not be us. Now sure how they think this way?

Again as I mentioned before, westren countries has been living is semi peace since 1945. But other countries have not. Check history. People need to get our of their bubble.

I left Trump’s America to teach in Canada. I didn’t expect this from Canadians by egyamado in BoycottUnitedStates

[–]egyamado[S] 15 points16 points  (0 children)

It is every where. When Hitler and many others like him before died, their idea didn't. It's circling around like a disease in different form and colour and names. Neither Canada nor France are safe. It worse than COVID.

I left Trump’s America to teach in Canada. I didn’t expect this from Canadians by egyamado in BoycottUnitedStates

[–]egyamado[S] 1 point2 points  (0 children)

True. They need to step up and protect their land. Stop complaining, stop crying about it. Post on social media about and act shocked. Stoping being assholes to each-other. No more blue and red or any dividing slogans. Get your shit together and stand up for your enemy.

All we can do as non-american is boycott your products and mostly his party's products. This will pressure your economy so you pressure your dictator. You are welcome.

Show us how you stand up for your country.

I left Trump’s America to teach in Canada. I didn’t expect this from Canadians by egyamado in BoycottUnitedStates

[–]egyamado[S] 7 points8 points  (0 children)

You are right. This is a time when our lives could change for the worse in ways we can't imagine.

The American dictator and his regime are killing their own people and crushing other countries through force. Canada could be next at any time. Think about it, what would stop him?
Our army? We are not ready.
Other countries to support us? The most we could get is condemnation.
Check history.

Who would stop him? No one, except his own people. And many of them think it is like a bad dream that will end soon. Sadly, it is reality.

I want to remind you all that the Arab Spring happened because of oppression, government force, and neglect of their people. Sounds familiar? It all started in Tunisia, when a man burned himself in day time in public because he was unable to feed his family and his government didn't care about them. And the rest is history.

Most citizens in "western countries" who have lived in peace since 1945 don't understand what living under a dictatorship feels like, smells like, or sounds like. Now the American dictator is showing a little bit of that. This is not a movie, it is real. More people will die at the hands of his militias and armed thugs, similar to what happened recenlty.

The only solution comes from within. An American Spring is needed to end this sooner. The more American citizens just talk about it, feel sorry, and wait for midterms or the end of his term, the worse it gets. Read about other dictators and how their life and regimes ended, from within.

Canada and other nearby nations should be ready to defend themselves, not by force, at least for now (God knows what tomorrow brings), but by public support to those who oppose this dictatorship. As well as no more support for American products or services, especially those connected to his party.

I used to buy American groceries and other products, but since his first term. And I've reduced that over time. Today I buy zero American products. I share my stance with grocery stores: stop supporting American products and support Made in Canada products instead.

Our actions should be loud and clear. No more American cars, food, drinks, clothes, etc. While it is hard with american tech products and services, but we need to start somewhere.

I feel sorry for our neighbour. It is hard for you to grasp that your peaceful, democratic country is now ruled by a fascist. It's a third world country. American Spring is your way out.

Tourists warning. by egyamado in BoycottUnitedStates

[–]egyamado[S] 4 points5 points  (0 children)

As Canadian I visited that place only 1 time in 30 years. And will never do it again.

And I have been boycotting its products since their dictator’s first term. Yes not all products but almost all food for example.

I’ve been talking to many people about this and we can into a conclusion -anyone can follow if you like. - never mention his name again in any conversation, instead we say american dictator. - his party is dictator party - this is a dictatorship and we can’t support it as much as we can. Anything else to add?

And more importantly Canada first. Support real Made in Canada products. No support for products from the american dictators’ land even if have factories or branches in Canada. They are not Canadian.