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.

Harri Kauhanen's latest activity

Saturday, May 22 2010
4665 Suggestion: Change to create Rails 3.0 apps by `rails init app-name` was updated in Ruby on Rails
  • Harri Kauhanen
    Harri Kauhanen commented at 5:03 PM

    The fix number I should have written is #4602, not 8994.

  • Harri Kauhanen
    Harri Kauhanen commented at 5:01 PM

    +1

    Excellent suggestion!

    There's fix #8994 to prevent creating projects with name 's', 'db' and so on with Rails 3, but that one is a bit ugly and does not real...

Sunday, December 21 2008
445 Improved support for model namespaces (fixtures, generators, table naming) was updated in Ruby on Rails
  • Harri Kauhanen
    Harri Kauhanen commented at 9:41 AM

    Ok.

    My personal project no longer needs this. Therefore (and unfortunatelly), I do not have interest enough to go through the fixing process again.

    I'm really h...

Wednesday, September 10 2008
445 Improved support for model namespaces (fixtures, generators, table naming) was updated in Ruby on Rails
  • Harri Kauhanen
    Harri Kauhanen commented at 4:05 PM

    Uups.. wiki formatting ate my double underscores. animalmonkeyapes should be animal(double-underscore)monkey(double-underscore)apes .

  • Harri Kauhanen
    Harri Kauhanen commented at 3:55 PM

    This patch contains all the previous patches (except the improve_model_namespace_support.diff which is now obsolete).

    While doing this patch, I noticed that Rai...

  • Harri Kauhanen
    Harri Kauhanen commented at 3:55 PM

    This is a rather bigger patch. It makes Rails generator generate working code with namespaced model. For instance, if you run script/generate scaffold Animal::M...

  • Harri Kauhanen
    Harri Kauhanen commented at 3:54 PM

    This patch makes the fixtures for namespaced models work. If you have e.g. class Animal::Monkey, the fixture file should be either animal__monkey.yml or monkey....

  • Harri Kauhanen
    Harri Kauhanen commented at 3:53 PM

    I believe this new convention should be default in some point of time. I found this "new_rails_defaults" initializer, and thought it probably should be here. If...

2 earlier changes…
  • Harri Kauhanen
    Harri Kauhanen commented at 3:53 PM

    This patch just ads a simple test case for the improved naming convention. I admit, we should perhaps more tests (e.g. testing the "has_many" and other relation...

  • Harri Kauhanen
    Harri Kauhanen commented at 3:52 PM

    The next patch has nothing to do with the database naming convention. It should, however, fix some issues with namespaced models, and relations such as "has_man...