From: Benedikt -- Date: 2012-10-31T02:14:36+09:00 Subject: undefined method each_pair Hello, I get a strage Error on a Project which runs without Problems on the Server and on a other developer machine. I traced the error to a function which checks for a .nil? error: undefined method `each_pair' for # runtime: more_link = nil function: def safe_more_link logger.debug("SAFE_MORE_LINK11111") if not more_link.nil? logger.debug("SAFE_MORE_LINK2222") more_link logger.debug("SAFE_MORE_LINK33333") else logger.debug("SAFE_MORE_LINK44444") nil end logger.debug("SAFE_MORE_LINK555555") end console output: SAFE_MORE_LINK11111 Rendered site_sections/_ticker.html.erb (189.3ms) Completed 500 Internal Server Error in 865ms ActionView::Template::Error (undefined method `each_pair' for #): I have no idea what is going wrong here. I checked for each gem the version number. Any ideas? -- Posted via http://www.ruby-forum.com/.