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.

cake_joe's latest activity

Tuesday, March 01 2011
5901 suppress the generation of the authenticity_token div was updated in Ruby on Rails
  • cake_joe
    cake_joe commented at 2:25 PM

    @ Josh: +1 for the wrapper name 'standards_and_authenticity_wrapper'. Your idea works well for upgrading without hassles, though adds more extra/"bloat" code. D...

Saturday, November 13 2010
5901 suppress the generation of the authenticity_token div was updated in Ruby on Rails
  • cake_joe
    cake_joe commented at 2:44 AM

    First of all, thanks.

    Looking through your patch I notices this line:
    tags = snowman_tag << method_tag

    Snowman is not exactly the same like authenticity token =...

Monday, November 01 2010
5901 suppress the generation of the authenticity_token div was updated in Ruby on Rails
  • cake_joe
    cake_joe commented at 12:07 AM

    Sorry for 2 comments. Messed up the formatting.

    Afaik a "wrapper" element is required for html validation.

    The code being generated currently is not good though...

  • cake_joe
    • Tag set to csrf, form_helper, rails3, semantic
    by cake_joe at 12:00 AM

    Afaik a "wrapper" element is required for html validation.

    The code being generated currently is not good though:

    Reasons:

    • Some people do not like tag-soup
    • Inl...
Saturday, October 16 2010
5824 Throw a warning at generate scaffold and rake:db migration if fieldnames matc... was updated in Ruby on Rails
  • cake_joe
    • Tag changed from reserved words, enumeration, pola, scaffold, type, warnings to reserved words, enumeration, pola, rails3, scaffold, type, warnings
    by cake_joe at 4:40 PM
  • cake_joe
    cake_joe commented at 4:34 PM

    My suggestion is:
    Throw a warning at generate scaffold and rake:db migration if fieldnames match rail's reserved words.

    Caveat: I am not so sure about migration...

  • cake_joe
    cake_joe created the ticket at 4:32 PM

    Today I spend some hours figuring out why my enumeration to the field "type" did not save. Without validation the record would save and would silently ignore my...