Oh, hello there! I’m Tim, and if you’re reading this that means you’ve got Rails fever! It’s time for your weekly dose of This Week in Rails….
This week 21 people contributed to Rails, including 4 for the first time! If you’d like to join them and perhaps get a slot in next week’s edition, why not check out the list of open issues?
The gem
method can now support multiple version constraints, just like in rubygems!
take_failed_screenshot
work within engineThis method used to get the tmp directory relative to Rails.root
, which in an engine points to the dummy application, where no such directory exists. This was fixed by using the path relative to the current directory instead.
This fixed a race condition in class_attribute
, which in redefining an attribute had to remove it first and then redefine it. If another thread was trying to access that attribute in the middle of that, it would raise a NameError
. Thankfully no more!
….and that’s a wrap! As always, there is never enough time or space to cover every change this week, but we value each and every one. If you’d like to know more you can check out the full list of changes yourself. See you next time!