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.

Kane's latest activity

Tuesday, June 15 2010
4865 [Feature Request] add :if / :unless conditions for attr_accessible, attr_prot... was updated in Ruby on Rails
  • Kane
    Kane commented at 7:13 PM

    to deny changes of some attributes related to the current state validators should be used. i think you misuse those methods. they are only there to control mass...

  • Kane
    Kane commented at 6:50 PM

    those methods are there to control mass-assignment. I cant see any use in deciding if mass-assignment is allowed or not by state. use case?

3122 [PATCH] Support of OR as condition connector in merge_conditions was updated in Ruby on Rails
  • Kane
    Kane commented at 6:26 PM

    this is no longer relevant since arel or is it?
    I think it can be closed.

Wednesday, May 26 2010
4471 Rake Tasks completely screwed up was updated in Ruby on Rails
  • Kane
    Kane commented at 10:06 PM

    Hey José
    i attached the requested failing test case

Wednesday, April 28 2010
4471 Rake Tasks completely screwed up was updated in Ruby on Rails
  • Kane
    Kane commented at 8:40 PM

    So regarding the second issue:
    I assumed if i run rake db:test:prepare everything would be run in evironment test.
    I didnt looked how deep this goes and how man...

Sunday, April 25 2010
4471 Rake Tasks completely screwed up was created in Ruby on Rails
  • Kane
    Kane created the ticket at 3:25 PM

    I observed the following behaviour in rails3 beta3.

    first of all, it is not possible to modify framework raketasks from lib/tasks/myraketasks.rake as in rails 2...

Tuesday, September 01 2009
3122 [PATCH] Support of OR as condition connector in merge_conditions was updated in Ruby on Rails
  • Kane
    Kane commented at 2:56 PM
        # Only allow AND or OR as connector. Default to AND.
        connector = "AND" unless connector == "AND" or connector == "OR"
    

    i meant this line of code, if i ...

  • Kane
    Kane commented at 12:19 AM

    interessing.. but i dont like the syntax :connector => "OR" cant it be a symbol?
    and just defaulting to and if its nor and or or feels strange, the developer sh...

Friday, August 28 2009
3096 problem with combined use of touch and autosave options was updated in Ruby on Rails
  • Kane
    Kane commented at 4:38 PM

    only saving the record when it changed seems fine with me and should be done even if it would work with your touch example.
    if somebody needs to save all associ...

2965 Advanced / foxy fixture features doesn't work well with models in modules was updated in Ruby on Rails
  • Kane
    • Assigned user set to Jeremy Kemper
    by Kane at 12:39 AM