On 19. Sep 2019, at 13:31, Manuel Korfmann <ma...@korfmann.info> wrote:Refinements didn’t work when tested properly, so I ended up with this construct```rubydef createBanal::Brainstorm.class_eval dodefault_scope lambda { with_deleted }end@comment = Comment.new(comment_params)@comment.save!redirect_to banal_brainstorms_pathBanal::Brainstorm.class_eval dodefault_scope lambda { without_deleted }endend```On 19. Sep 2019, at 13:02, Manuel Korfmann <ma...@korfmann.info> wrote:--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3b4e3ae7-ff53-461e-9b49-9a8189d66909%40googlegroups.com.