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

Saturday, August 15 2009
Thursday, August 13 2009
3050 rake gems:install doesnt handle >= correctly was created in Ruby on Rails
  • Kane
    Kane created the ticket at 8:04 PM
      config.gem 'a_gem', :version => ">= 1.2.3"
    

    rake gems:install only installs the newest version of this gem if the requirement isnt already met.

    if version 1....

3049 proc support for validates_numericality_of was created in Ruby on Rails
  • Kane
    Kane created the ticket at 7:26 PM
      class Person < ActiveRecord::Base
        validates_numericality_of :width, :less_than => Proc.new { |person| person.height }
      end
    
1976 Scaffold generator not working well with namespaced resources was updated in Ruby on Rails
  • Kane
    Kane commented at 12:29 AM

    i had a look at it. the underlying problem is that the fixture code handles everything through the tablename, and so we have no clue about the namespace cause t...

Saturday, August 01 2009
2802 fixed counter_sql from finder_sql to work with subselects was updated in Ruby on Rails
  • Kane
    Kane commented at 1:11 PM

    strange, i only get this error without the fix.

Wednesday, July 29 2009
2802 fixed counter_sql from finder_sql to work with subselects was updated in Ruby on Rails
  • Kane
    Kane commented at 9:36 PM

    are there adapters which dont support subqueries?

    I changed the sql, now works with sqlite3 and should not be adapter specific.

    hope this is the final version^^

Tuesday, July 28 2009
1976 Scaffold generator not working well with namespaced resources was updated in Ruby on Rails
  • Kane
    Kane commented at 7:44 PM

    jose:

    1) is a two line delete.

    2) i assume if namespaces for models are for organisational purpose and are subdirs in /models, in case of the corresponding fixt...

  • Kane
    Kane commented at 7:37 PM

    shouldnt be too much work?

    fixtures :all should also load subdirectories

    fixtures :table_name has to find a class with this tablename.
    I assume this is trying t...

Friday, July 24 2009
1976 Scaffold generator not working well with namespaced resources was updated in Ruby on Rails
  • Kane
    Kane commented at 5:49 PM

    so the model generator shouldnt build the namespace into the tablename.
    Ive made a patch which adds a test for namespaced model generation and verifies that the...

Thursday, July 23 2009
1976 Scaffold generator not working well with namespaced resources was updated in Ruby on Rails
  • Kane
    Kane commented at 11:09 PM

    the behaviour of 2.3.2 is really interesting..

    ruby script/generate model Site::Article text:text
    ruby script/generate model site/article text:text

    works both w...