Andrei Kaleshka
Andrei Kaleshka
Use Ruby DSL script to fix schema migration without SQL knowledge and schema version update.
To keep the migrated folder clean. Also add a rake task to clean this folder. That should remove all phantom migrations with "down" or "unclear" status.
The TS360 acronym was defined in another branch, and the migration was migrated. Then the following error appeared: ``` NameError: uninitialized constant AddTs360UsersAddressesAssoc Did you mean? AddTS360UsersAddressesAssoc Caused by: NameError:...
When I inspect a db/schema.rb that has some diff detected by git I have no idea where the diff comes from. E.g. ```diff diff --git a/api/db/schema.rb b/api/db/schema.rb index 5da3a51e6..eb2a2c502 100644...
Move the following routes from -> to: "/rails/phantom_migrations" -> "/rails/migrations/phantom_migrations" "/rails/broken_versions" -> "/rails/migrations/broken_versions" "/rails/schema" -> "/rails/migrations/schema" The gem should not pollute the "rails" namespaces with too many routes defined on...
Currently, the schema diff doesn't render a link to phantom migrations.  Implement a link for that scenario.
Currently "db:phantom_migrations" rake task is defined in "db" namespace, but other are in actual_db_schema namespace. That's inconsistent and might lead to confusion. So this grep shows no all tasks from...
Research available options for creating documentation. A good example of well-structured documentation is [SpreeCommerce Docs](https://spreecommerce.org/docs/developer/getting-started/quickstart). We don’t need to use the same tools as SpreeCommerce, but we want a similar...
Address this comment from Reddit user - https://www.reddit.com/r/rails/comments/1id35hd/comment/m9vyhns/