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.

lakshmanan's latest activity

Saturday, July 24 2010
5185 unchanged attribute is changed [ActiveModel] was updated in Ruby on Rails
  • lakshmanan
    • Tag changed from rails3 active_model dirty to rails3 active_model dirty, invalid
    by lakshmanan at 2:53 PM
  • lakshmanan
    lakshmanan commented at 1:32 PM

    works for me ! It(Ticket) seems invalid ..

    I tried this in console as well.

5183 ModelName.limit(n).size returns invalid number was updated in Ruby on Rails
3480 has_one through associations not saved correctly was updated in Ruby on Rails
  • lakshmanan
    lakshmanan commented at 1:09 PM

    I ran your testcase statements in console and I test Membership after every statement. You are not saving anything

    In short -> you are playing in memory without...

5187 fail rollback transaction with manual raise exception was updated in Ruby on Rails
Thursday, July 15 2010
5116 Rails Unit Testing Fails with NoMethodError: undefined method `key?' for #<St... was updated in Ruby on Rails
  • lakshmanan
    lakshmanan commented at 7:44 AM

    Sorry. the mistake is in my part and not on rails...

  • lakshmanan
    lakshmanan created the ticket at 6:51 AM

    In Rails 2.3.8, When I write a test like

    require 'test_helper'
    require 'test/unit'
    include Test::Unit::Assertions
    
    
    class PostTest < ActiveSupport::TestCase
    
     ...