Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

ydt's latest activity

Friday, February 04 2011
6371 request.post? doesn't work was updated in Ruby on Rails
  • ydt
    ydt commented at 10:31 AM

    Error, it's my fault, it is a PUT request, but request.method is contain POST...

  • ydt
    ydt created the ticket at 10:18 AM

    On Rails 3.0.3

    routes.rb :

    resources :albums do
    member do

    match 'dispatch' => 'albums#dispatch', :via => [:get, :post]
    

    end end

    album controller :

    def dispatch
    ...