{"shas":[["3de19ebe193fe867b57a178b726aa4acd998e74a","145fb9ee252499928192fd621340116a3130547b@cyt.ch","Compatible way to test request method in controller.\n\nCommit 6fb305cfd46abc69cb9ebb3d84a2a3174e1ac0db replaced request.method with\nrequest.method_symbol which is only available on Rails > 3.0\n\nThis commit switches the way we test the request method to use .post? and\n.put? instead of .method/.method_symbol.\n\nThis restores compatibility with Rails 2.3.","Simon Hürlimann (CyT)"],["181bf73b7f21bdbaf83ded9a2515b9fb9208d63f","0881e5e369e767aecdc6ae028910678798cf86db@gmail.com","Merge pull request #1 from huerlisi/master\n\nCompatible way to test request method in controller.","Mark Turner"]],"ref":"refs/heads/master","size":2,"head":"181bf73b7f21bdbaf83ded9a2515b9fb9208d63f","push_id":41644507}