510 Experience
4 Lessons Completed
0 Questions Solved


Posted in Statistics of OS using for Ruby/Rails development

Is where any source of data about OS spreading between Ruby/Rails developers.

Something like Stackoverflow Developer Survey, but only about Ruby, or where you can separate this data.

Posted in ActiveStorage trix image before record exist.

Thank you Chris!
Definitely draft is a great option.

Posted in ActiveStorage trix image before record exist.


I have a Concept model with description string field.
Concept has_many_attached :images, I use them to store images that I dragged into trix wysiwyg.
Everything works great if Concept already exist and I edit it.
My goal is to give user option to upload images right on creation step.

I have in mind some options:

  • store images in other temporary record, and rewrite after save ( the worst one);
  • pre save record in background while user fill ing form (should delete it if he cancel action, ghost records possible);
  • do not allow editing description on creation step (easiest option, but does not meet expectation).

Will appreciate any ideas.