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.

nachocab (at gmail)'s latest activity

Wednesday, August 19 2009
3014 edge rails, rubygems, osx was updated in Ruby on Rails
Sunday, March 08 2009
2164 validate_uniqueness_of meaningless error was updated in Ruby on Rails
  • nachocab (at gmail)
    nachocab (at gmail) commented at 9:04 PM

    Thank you Pratik, I understand that if you let inconsistent code creep in once, you're much more likely to do it again next time. Hope to code something better ...

Saturday, March 07 2009
2164 [PATCH] validate_uniqueness_of meaningless error was created in Ruby on Rails
  • nachocab (at gmail)
    nachocab (at gmail) created the ticket at 5:56 PM

    Added new error to warn against validating a non-existent column.

    Currently doing this, raises this error:

    Topic.validates_uniqueness_of(:item) #instead of:item...

Saturday, February 21 2009
2008 default_scope doesn't work with has_many << (insertion) was updated in Ruby on Rails
  • nachocab (at gmail)
    • Assigned user cleared.
    by nachocab (at gmail) at 8:27 AM

    You're right Paweł. I hadn't realized it was saving it into a local array until the House record was created. No need to reload, really, just doing House.create...

Friday, February 20 2009
2005 ActionView::MissingTemplate with Haml was updated in Ruby on Rails
  • nachocab (at gmail)
    nachocab (at gmail) commented at 8:35 PM

    Confirmed, patch fixed it. Thanks thedarkone, I learned a lot looking at your code.

Thursday, February 19 2009
2005 ActionView::MissingTemplate with Haml was updated in Ruby on Rails
  • nachocab (at gmail)
    nachocab (at gmail) commented at 7:53 AM

    These are my locally installed gems: http://gist.github.com/66785 I'm on the latest version of rails and haml. If I checkout this rails commit b1d41bdfb06cb5f60...

  • nachocab (at gmail)
    nachocab (at gmail) commented at 5:41 AM

    Hello thedarkone, sorry for not creating the app. Don't take it personally, I'm still learning the ropes. So, I've downloaded the project and I get the MissingT...

2008 default_scope doesn't work with has_many << (insertion) was updated in Ruby on Rails