Catch Ruby errors before your users do. Monitor Ruby production errors in real-time and debug them in minutes, before users notice. Our open source Ruby SDK works with Rails, Sinatra, and more. Use this link and get one month free!

RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Return associations with additional records this gem was created in 30 minutes to solve one problem with missed User in the dropdown in my one form. User was before softy-deleted, and I’ve got in “edit” form a blank select. But I need to show him in this form so on “update” I won’t override it to NULL.

PS: also I don’t want to show all deleted users, so an option to put “with_deleted” (from paranoia) is not an option. I need to show all active + this 1 deleted :)

PPS: Maybe it will be useful for you too.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in