pdabrowski6 / buildless

Speed up Rails app bootstrap process
0 stars 0 forks source link

Validate exclusion of reserved words for application_name #1

Closed rafaltrojanowski closed 6 months ago

rafaltrojanowski commented 6 months ago
buildless apply 6afe770a-86ef-400a-bb40-63c7d2dd90e6

true
true
Based on the specified options, the following options will also be activated:

  --skip-hotwire [due to --skip-javascript]

Invalid application name test. Please give a name which does not match one of the reserved rails words: application, destroy, plugin, runner, test
/Users/rafaltrojanowski/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/buildless-app-0.0.7/lib/buildless-app.rb:44:in `chdir': No such file or directory @ chdir_path - test (Errno::ENOENT)

Maybe I could help with this issue? I just need a guidance on where to put validates_exclusion_of method?

pdabrowski6 commented 6 months ago

Hey @rafaltrojanowski 👋 it should be placed on the backend, but it's not currently open-sourced. The gem is quite simple and it's only responsible for taking the instructions and executing simple commands. I appreciate your willingness to help but I will have to do this on my own. Thank you for pointing this out, it's really important to have this validation in place.