We've moved discussions to Discord

Active Storage Bug

Dan Tappin
any thoughts on this bug? https://github.com/rails/rails/issues/36374

This renders AS pretty much useless in the Jumpstart template.  I was in the process of following your GoRails guide.  It worked perfectly until I realized that the previous uploads get blown away with a subsequent upload.

Would the entire Template break if you downgraded it to the last stable v5 of Rails?
Brandon B.
- I never use the 'has_many' feature of ActiveStorage, I have found myself too many times in the past needing to add a field or many fields to attachments.  So, lets say I have an object: Projects and it has_many documents, I will create and object project_documents and Projects has_many project_documents and each project document only has_one attachment.  I have found this makes my future features much easier to implement.

Dan Tappin
 thats a great point.  I was starting to scratch my head and say "how do I now delete these attachments".  I also see adding a description, notes and comments to individual attachments.  I suspect I will go this route.  I also downgraded to Rails 5.2.3 - way too early to jump to 6.  So many gems etc. that are not ready for 6.0
Brandon B.
I almost always find myself needing to 'tag' attachments for the users of our apps, or label them from a dropdown: invoices, contracts, change orders, etc..  I usually do not even know the function is needed until way after I have added attachments to the objects, but now that I have had to use it on 90% of the use-cases, I now just implement it by default.  You can also roll that up with can-can (I think) and have that take care of those dependencies in the parent view so you can easily add 'many' while creating the parent and it functions correctly.

Michelle Hartley
Which gems are you finding aren't ready for rails 6? I haven't had any issues with gems in rails 6 so far. (knock on wood)
Brandon B.
I would like to be on this tag as well.  We should start a shared txt file, haha.

In addition - I think this forum group could be utilized in much more constructive way, similar to this thread.  Although this may be a smaller group, in numbers, it appears that the group is way more active in issues than most groups I am part of.  I think the 'collective' of this group could help everyone else in this group exponentially. 

In real life I only have a handful of direct contacts with 'expert' knowledge in ROR, or web apps in general, so this forum is where I come to get a tiny bit of knowledge, or to help others.
Dan Tappin
Filterrific was the deal breaker for me.  Also that Active Storage bug made me downgrade.
Michelle Hartley
Brandon B.  
Good idea.
I've been very lucky. I have a mentor on operation code (for veterans) and the forum is always helpful. 

Dan Tappin
any thoughts on this bug? https://github.com/rails/rails/issues/36374

This renders AS pretty much useless in the Jumpstart template.  I was in the process of following your GoRails guide.  It worked perfectly until I realized that the previous uploads get blown away with a subsequent upload.

Would the entire Template break if you downgraded it to the last stable v5 of Rails?
Brandon B.
- I never use the 'has_many' feature of ActiveStorage, I have found myself too many times in the past needing to add a field or many fields to attachments.  So, lets say I have an object: Projects and it has_many documents, I will create and object project_documents and Projects has_many project_documents and each project document only has_one attachment.  I have found this makes my future features much easier to implement.

Dan Tappin
 thats a great point.  I was starting to scratch my head and say "how do I now delete these attachments".  I also see adding a description, notes and comments to individual attachments.  I suspect I will go this route.  I also downgraded to Rails 5.2.3 - way too early to jump to 6.  So many gems etc. that are not ready for 6.0
Brandon B.
I almost always find myself needing to 'tag' attachments for the users of our apps, or label them from a dropdown: invoices, contracts, change orders, etc..  I usually do not even know the function is needed until way after I have added attachments to the objects, but now that I have had to use it on 90% of the use-cases, I now just implement it by default.  You can also roll that up with can-can (I think) and have that take care of those dependencies in the parent view so you can easily add 'many' while creating the parent and it functions correctly.

Michelle Hartley
Which gems are you finding aren't ready for rails 6? I haven't had any issues with gems in rails 6 so far. (knock on wood)
Brandon B.
I would like to be on this tag as well.  We should start a shared txt file, haha.

In addition - I think this forum group could be utilized in much more constructive way, similar to this thread.  Although this may be a smaller group, in numbers, it appears that the group is way more active in issues than most groups I am part of.  I think the 'collective' of this group could help everyone else in this group exponentially. 

In real life I only have a handful of direct contacts with 'expert' knowledge in ROR, or web apps in general, so this forum is where I come to get a tiny bit of knowledge, or to help others.
Dan Tappin
Filterrific was the deal breaker for me.  Also that Active Storage bug made me downgrade.
Michelle Hartley
Brandon B.  
Good idea.
I've been very lucky. I have a mentor on operation code (for veterans) and the forum is always helpful. 

Notifications
You’re not receiving notifications from this thread.
© 2023 Jumpstart Pro by GoRails, LLC