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.

Rodrigo Rosenfeld Rosas's latest activity

Monday, August 31 2009
1687 Flexible formatting for AR validation error messages was updated in Ruby on Rails
  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 4:11 PM

    Sven, I really don't think it is important how often someone needs this feature. Once she needs, she should be able to do it. What should I do if for any rare c...

Wednesday, August 26 2009
1687 Flexible formatting for AR validation error messages was updated in Ruby on Rails
  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 7:09 PM

    Thanks, Sven, now I understood what is happening, with your last examples. :)

  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 6:00 PM

    Sven, what I meaned is if I'll be able to set multiple 'full_message' translations, one for each model/validation. I mean, one attribute can have more than one ...

  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 3:31 PM

    The lack of preview in LightHouse is really a problem. Trying to format the example with pre:

    validates_presence_of :name
    validates_accpetance_of :eula, :full_...
  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 3:18 PM

    I've just noted a small typo in the documentation:
    "activerecord.errrors.messages" (the extra 'r')

    I guess you've copied it from somewhere since I remember I've...

Wednesday, August 19 2009
3080 Spelling correction in Rails generator (craete -> create) was updated in Ruby on Rails
Friday, August 14 2009
1687 Flexible formatting for AR validation error messages was updated in Ruby on Rails
  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 1:33 PM

    I don't know exactly why, but I do not feel very confortable with this lighthouse system. Sometimes I miss the simplicity (yet powerfulness) of Redmine, and the...

  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 1:29 PM

    Just reformatting the code, since it became confustion without proper formatting:

    full_messages=[]
    errors.each do |field, message|
      full_messages << (message....
  • Rodrigo Rosenfeld Rosas
    Rodrigo Rosenfeld Rosas commented at 1:24 PM

    Jarl, I didn't understand very well your last message. My message wasn't intended to be a response to your message. I just used your example for showing the ide...