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.

bterkuile's latest activity

Friday, July 16 2010
5133 ActiveRelation fails array intersection (Rails beta4) was created in Ruby on Rails
  • bterkuile
    bterkuile created the ticket at 2:52 PM

    For examle Posts.all & Category.first.posts gives an empty result while Posts.all & Category.first.posts.all give a valid result

Friday, February 12 2010
3940 Active record dynamic finder symbol gets converted to yaml was created in Ruby on Rails
  • bterkuile
    bterkuile created the ticket at 12:22 PM

    When playing with aasm I was trying selectors like:
    MyModel.find_all_by_state :active
    This returns an empty result while:
    MyModel.find_all_by_state 'active'
    Ret...

Wednesday, July 29 2009
2160 nested_attributes: validates_uniqueness_of fails was updated in Ruby on Rails
  • bterkuile
    bterkuile commented at 4:24 PM

    I have the same problems. Shortly said: validations are not taken into account when accept_nested_attributes_for is used. I will give my problem, since I use a ...

1434 add_column with non-existing type was updated in Ruby on Rails
  • bterkuile
    bterkuile commented at 3:53 PM

    I had the same problem, setting a type to :bool for sqlite3 will cause many problems. At least it should be converted to :boolean when a sqlite database is used...

Friday, June 19 2009
2818 ActiveRecord problem with sanitizing array was created in Ruby on Rails
  • bterkuile
    bterkuile created the ticket at 2:32 PM

    I try to create an ActiveRecord extension to be able to do smarter date selections. These selections can have the form:
    @@@ruby MyModel.all(:conditions=>{:date_...