1. 20 7月, 2012 3 次提交
    • A
      Don't assume resource param is :id when using shallow routes · cabb4471
      Andrew White 提交于
      Since #5581 added support for resources with custom params we should
      not assume that it is :id when using shallow resource routing.
      cabb4471
    • A
      Support constraints on resource custom params when nesting · 27619e34
      Andrew White 提交于
      The Mapper looks for a :id constraint in the scope to see whether it
      should apply a constraint for nested resources. Since #5581 added support
      for resource params other than :id, we need to check for a constraint on
      the parent resource's param name and not assume it's :id.
      27619e34
    • A
      adding Rails::Queueing::Container · 3b3ca133
      Aaron Patterson 提交于
      This allows us to do:
      
      In your configuration:
      Rails.queue[:image_queue] = SomeQueue.new
      Rails.queue[:mail_queue]  = SomeQueue.new
      
      In your app code:
      Rails.queue[:mail_queue].push MailJob.new
      
      Both jobs pushed to the same default queue
      Rails.queue.push DefaultJob.new
      Rails.queue[:default].push DefaultJob.new
      3b3ca133
  2. 19 7月, 2012 7 次提交
  3. 18 7月, 2012 19 次提交
  4. 17 7月, 2012 2 次提交
  5. 16 7月, 2012 3 次提交
  6. 15 7月, 2012 5 次提交
  7. 14 7月, 2012 1 次提交