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.

There was a problem

You must be a member of this account.

Pascal Ehlert's latest activity

Saturday, September 11 2010
5535 racc/parser.rb not found in gem was updated in Ruby on Rails
  • Pascal Ehlert
    Pascal Ehlert commented at 10:36 PM

    Okay so to everyone who stumbles upon this:
    Add gem 'racc' to the top of your Gemfile and it will work.
    Investigating this a bit further soon.

Tuesday, August 25 2009
3092 Nested object validations return incorrect attribute IDs was updated in Ruby on Rails
  • Pascal Ehlert
    Pascal Ehlert commented at 11:41 AM

    Hi Yuval,

    thanks for your first report.
    This is a clear problem that I experienced myself.

    The question I was asking myself when reading this was whether it mak...

Monday, March 16 2009
2247 has_one :through produces invalid SQL was created in Ruby on Rails
  • Pascal Ehlert
    Pascal Ehlert created the ticket at 6:43 AM

    I've experienced a weird issue today which I'd like someone to confirm before I start working on a patch.

    When using has_one :through with another has_one assoc...

Friday, February 06 2009
1870 accepts_nested_attributes_for should not have a :reject_if option was updated in Ruby on Rails
  • Pascal Ehlert
    • Tag set to 2.3, attributes, nested, patch
    by Pascal Ehlert at 9:48 AM

    So yes, I know when the record is empty. But the only way to reject it will be to have a failing validation and give the user an error message or manually in th...

  • Pascal Ehlert
    • Tag cleared.
    by Pascal Ehlert at 8:08 AM

    Sorry, but we should leave it up to the developers what they consider right configuration here.

    In my case, I use nested attribute forms for e.g. a selection of...

1892 nested attributes should not have meaningful hash keys was updated in Ruby on Rails
  • Pascal Ehlert
    • Assigned user set to Michael Koziarski
    by Pascal Ehlert at 9:42 AM

    Sounds good to me! I just couldn't think of a proper use case, but the conference example sounds good.. +1 for the change then.

  • Pascal Ehlert
    Pascal Ehlert commented at 8:21 AM

    Can you give us a real world scenario where you need to replace an existing record and can not do it by adding a _delete key to the old one?

    The clear problem w...

Wednesday, February 04 2009
1385 Fix current_page? to work with multiple parameters in the query string was updated in Ruby on Rails
  • Pascal Ehlert
    Pascal Ehlert commented at 1:48 PM

    That's actually a bug and I wonder why there has been so little interest in it. The fix is simple.

    Should go into 2.3 imo, so: +1

1861 Nested attribute accessors should ignore new records with truthy _delete key was updated in Ruby on Rails
  • Pascal Ehlert
    Pascal Ehlert commented at 10:51 AM

    Totally agree and having no meaningless characters in the code does actually make more sense to me.

  • Pascal Ehlert
    Pascal Ehlert commented at 10:27 AM

    Excellent, thanks a lot. I thought it would be obvious that a _delete key on new records rejects them, but it's certainly good to clearly state it in the docume...