[Rails] Re: How do you generically call a scope on a model?

2019-03-18 Thread Eric Anderson
I don't have the answer to your question, but I wouldn't say `send` is inherently evil. It all depends on the source of the data. If your `scope` argument is some meta-programming (i.e. the value is defined by the programmer) then it can be safe to use. If it is user input then obviously you

[Rails] RubyHACK - scholarships available

2019-03-18 Thread Allen Maxwell
Hi All, Quick note. RubyHACK is coming in a few weeks. We still have seats and some scholarships available. If you can join us that would be great! Lot’s of great topics and Matz is talking about Ruby 3.0! If you’re interested in scholarships, apply at https://rubyhack.com/scholarships