Building AnimatedGif.me Part 1 Discussion
This is awesome Chris! Thanks so much! This will help me and my team better understand rails coding from start to finish!
Awesome video, love the concept for this series and having a chance to watch you think :)
Anyone else having any issues using acts-as-taggable-on along with strong_migrations? Running rake db:migrate after installing acts-as-taggable-on is aborting the migration and throwing this error:
== 20200523200130 AddMissingUniqueIndices: migrating ==========================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
=== Dangerous operation detected #strong_migrations ===
Adding an index non-concurrently locks the table. Instead, use:
class AddMissingUniqueIndices < ActiveRecord::Migration[6.0]
disable_ddl_transaction!
def change
add_index :tags, :name, unique: true, algorithm: :concurrently
end
end
/Users/JAckerman/Documents/webdev/orgchart/db/migrate/20200523200130_add_missing_unique_indices.acts_as_taggable_on_engine.rb:9:in `up'
Thanks!
So I ended up wrapping each piece of each migration in safety_assured { } as strong_migration found errors, which eventually got all of them to run. Seems like it is a known error - https://github.com/mbleigh/acts-as-taggable-on/issues/985