{"number":3289,"pull_request":{"number":3289,"issue_url":"https://github.com/rails/rails/issues/3289","head":{"repo":{"master_branch":null,"name":"rails","created_at":"2011-09-15T05:36:20Z","size":148,"clone_url":"https://github.com/avakhov/rails.git","private":false,"updated_at":"2011-10-11T08:52:00Z","watchers":1,"ssh_url":"git@github.com:avakhov/rails.git","url":"https://api.github.com/repos/avakhov/rails","git_url":"git://github.com/avakhov/rails.git","language":"Ruby","fork":true,"svn_url":"https://svn.github.com/avakhov/rails","id":2390534,"pushed_at":"2011-10-11T08:52:00Z","open_issues":0,"homepage":"http://rubyonrails.org","description":"Ruby on Rails","forks":0,"html_url":"https://github.com/avakhov/rails","owner":{"avatar_url":"https://secure.gravatar.com/avatar/54e74983d81fa2fbe4c28e8392532f18?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/avakhov","id":92554,"login":"avakhov"}},"label":"avakhov:p-respond_to-conditions","sha":"50d262f52ab39680b031e485b89b64875c08358e","ref":"p-respond_to-conditions","user":{"avatar_url":"https://secure.gravatar.com/avatar/54e74983d81fa2fbe4c28e8392532f18?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/avakhov","id":92554,"login":"avakhov"}},"merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/e837f6b7fd146ab16ed3d663476c063e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/josevalim","id":9582,"login":"josevalim"},"created_at":"2011-10-11T08:53:29Z","changed_files":2,"merged":true,"body":"``` ruby\r\nclass HomeController < ApplicationController\r\n  before_filter :some, :only => [:aaa, 'bbb'] # Works well\r\n  respond_to :xml, :only => [:aaa, 'bbb']     # <-- Should also work\r\n\r\n  def aaa\r\n    respond_with :aaa => 3\r\n  end\r\n\r\n  def bbb\r\n    respond_with :bbb => 3\r\n  end\r\n\r\n  private\r\n  def some\r\n    # ...\r\n  end\r\nend\r\n```","comments":0,"title":"Support symbol and string actions in AC#respond_to options","additions":4,"diff_url":"https://github.com/rails/rails/pull/3289.diff","updated_at":"2011-10-11T09:06:23Z","url":"https://api.github.com/repos/rails/rails/pulls/3289","id":392671,"patch_url":"https://github.com/rails/rails/pull/3289.patch","mergeable":null,"merged_at":"2011-10-11T09:06:23Z","commits":1,"closed_at":"2011-10-11T09:06:23Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/54e74983d81fa2fbe4c28e8392532f18?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/avakhov","id":92554,"login":"avakhov"},"deletions":4,"html_url":"https://github.com/rails/rails/pull/3289","base":{"repo":{"master_branch":null,"name":"rails","created_at":"2008-04-11T02:19:47Z","size":13884,"clone_url":"https://github.com/rails/rails.git","private":false,"updated_at":"2011-10-11T09:06:24Z","watchers":10593,"ssh_url":"git@github.com:rails/rails.git","url":"https://api.github.com/repos/rails/rails","git_url":"git://github.com/rails/rails.git","language":"Ruby","fork":false,"svn_url":"https://svn.github.com/rails/rails","id":8514,"pushed_at":"2011-10-11T09:06:23Z","open_issues":498,"homepage":"http://rubyonrails.org","description":"Ruby on Rails","forks":2268,"html_url":"https://github.com/rails/rails","owner":{"avatar_url":"https://secure.gravatar.com/avatar/30f39a09e233e8369dddf6feb4be0308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/rails","id":4223,"login":"rails"}},"label":"rails:master","sha":"1735868c61bc9925f8fabdaea4c44e4b5962b8f4","ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/30f39a09e233e8369dddf6feb4be0308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/rails","id":4223,"login":"rails"}},"state":"closed"},"action":"closed"}