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.

Nikolay Belous's latest activity

Monday, July 26 2010
5199 respond_with returns " " on PUT and DELETE verb was updated in Ruby on Rails
  • Nikolay Belous
    Nikolay Belous commented at 5:04 PM

    This is just an example.
    Real code below

      def create
        @user = User.new(params[:user])
        if can? :create, @user
          @user.save
          respond_with(@user)...
  • Nikolay Belous
    Nikolay Belous created the ticket at 4:40 PM

    RVM + Ruby 1.9.2 + Rails 3.0.0.beta4

    class UsersController < ApplicationController
      respond_to :json, :xml
    
      def create #POST users.json
        @user = User.fir...
Friday, July 23 2010
4088 respond_with fails silently on missing mimetype was updated in Ruby on Rails
  • Nikolay Belous
    • Importance changed from to High
    by Nikolay Belous at 1:36 PM

    class UsersController < ApplicationController

    def create #POST

    @user = User.first
    respond_with(@user) [#200](/projects/8994/tickets/200 "Ticket #200") OK, retu...