Removed key_value macro for Rails 4