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.

wildchild's latest activity

Sunday, February 13 2011
6428 Move ActiveModel::AttributeMethods#attribute_methods_generated? to ActiveRecord was created in Ruby on Rails
  • wildchild
    wildchild created the ticket at 5:47 PM

    In order to add ActiveModel::Dirty to models, people should use AttributeMethods. Everything is cool with AR-like models, but consider model like this:

      class...
Friday, November 12 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 4:24 AM

    Would there be any chance to get it applied before 3.0.2 release?

Tuesday, November 09 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 10:48 AM

    My previous patch with option name changed to :include_key. Docs included.

Sunday, June 20 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    • Assigned user set to José Valim
    by wildchild at 6:47 AM
Thursday, June 17 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 4:38 AM

    @Daniel your patch does not applies to master.

    New alternative patch "Don't emit hidden id unless model respond_to?(:to_key)"

Wednesday, June 02 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 12:32 AM

    Another idea is to check that object respond_to?(:to_key) and don't emit hidden id if result is negative? Thoughts?

Friday, May 28 2010
4718 Some url helpers are broken was created in Ruby on Rails
  • wildchild
    wildchild created the ticket at 3:58 PM

    If :to option is a proc then *_path helpers will append controller and action options. Assuming the following routes are defined:

    get "/foo", :to => proc { |en...
Sunday, May 23 2010
4676 Reload routes on each request in dev mode was created in Ruby on Rails
  • wildchild
    wildchild created the ticket at 9:18 PM

    If some modules or classes has state which populated by custom mapper (just like devise does) its state will never be populated next time the module is reloaded...

Sunday, May 09 2010
4551 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 6:14 PM

    Patch included. Can anyone suggest a better option name? Also fixes #4550

    # Disable hidden id field
    form_for(@post, :skip_model_key => true) do |f|
      f.text_fi...
Saturday, May 08 2010
4552 Add an option to omit the creation of hidden field with object id when using ... was updated in Ruby on Rails
  • wildchild
    wildchild commented at 11:38 AM

    Please mark this ticket duplicate. Something went wrong.