TIL to use current_config() instead of Rails.env() in database operations in #Rake tasks with #Rails v3.2.
Music-obsessed software geek. One of Breakmaster Cylinder’s Internet weirdos. He/him.
TIL to use current_config() instead of Rails.env() in database operations in #Rake tasks with #Rails v3.2.