I want to use the generate and migration commands even in applications that don't use rails.
The generate command may not be possible because the folder structure is different from rails, but the migration command wants to use the folder structure to match the rails application.
Answer # 1
Developed using a gem called standalone_migrations
I didn't use generate, but I'm happy because migration worked fine.
Answer # 2
These are Rails commands, so if you want to use those commands without using Rails
Create your own framework. Please do your best.
- ruby - if you want to redirect "without www" to with "www", do you need a site that can be accessed without
- ruby on rails - naming rules for migration files in ruby on rails
- python django generate migration file instance
- i want to stop and loop only the current work without stopping the whole processing when there are certain conditions in ruby
- ruby - i want to compare sequences without changing the order
- ruby - rails generate is not possible
- ruby - extraction method without duplication in genre search
- ruby on rails - if you generate multiple form_with with rails 6, only the first two behaves strangely
- ruby - it returns to the root page without sending params in form_with (no error occurs)
- ruby - couldn't find user without an id error
- ruby - couldn't find item without an id is displayed it seems that the params containing the id do not reach the controller
- ruby on rails - creation time of rails migration file built with docker cannot be changed from utc
- ruby on rails - "couldn't find item without an id" → i want to solve the error that the item model id cannot be found
- ruby on rails - how to automatically generate the top page with ruby on rails
- ruby on rails 6 - migration error
- ruby - how to update data without screen transition in rails
- ruby on rails - the url for password reset goes to home without linking to the password rset form
- ruby on rails - conditions for rails generate to recognize rails_root
- How to generate custom templates in Artisan commands of Laravel study notes
- ruby - an error will occur if validation is set
- ruby - how to use subject in rspec
- ruby - cannot save foreign key !!!!!!!!!!!
- ruby - [rails52] error after implementing cart function on ec site (nomethoderror in devise :: sessions # new)
- ruby - about array expansion using eachwith_index ()
- ruby - couldn't find memo with'id '= i would like to solve #
- ruby - description when is inserted in
- model validation of ruby on rails
- ruby - rails follow function