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.

foca's latest activity

Tuesday, September 21 2010
5676 require "active_support/inflector" fails due to unresolved dependencies was created in Ruby on Rails
  • foca
    foca created the ticket at 8:36 PM

    http://gist.github.com/590027

    Also, from twitter:

    "@godfoca Actually, requiring i18n did not help because it's an entrance to a rabbit hole of dependencies."

Thursday, April 15 2010
4404 [PATCH] Remove deprecation warnings and avoid TypeErrors in actionpack/lib/ab... was created in Ruby on Rails
  • foca
    foca created the ticket at 2:08 PM

    After 71c9337f45f9c5461cbc6ddf6cab764ad0f82c3b we started getting TypeErrors on that file due to using a deprecated API, this fixes it.

4244 [PATCH] link_to :remote => false does not work was updated in Ruby on Rails
  • foca
    foca commented at 1:47 AM

    Er, I completely forgot about this, sorry :*

Wednesday, April 14 2010
4396 Repeated SHOW FIELDS FROM... queries with STI was updated in Ruby on Rails
  • foca
    foca commented at 6:33 PM

    The problem with using @@ variables is that they are shared across the entire ancestor chain, thus:

    @@@ruby class Base
    def self.columns

    @@columns ||= {}
    

    end e...

Saturday, March 27 2010
4244 [PATCH] link_to :remote => false does not work was updated in Ruby on Rails
  • foca
    foca commented at 6:53 PM

    Should I add tests for those too, so we don't get a regression?

  • foca
    foca commented at 6:52 PM

    It already works for button_to and form_tag, only link_to was missing.

Saturday, March 20 2010
4244 [PATCH] link_to :remote => false does not work was updated in Ruby on Rails
  • foca
    • Tag changed from action_view helper patch to action_view, helper, patch
    by foca at 9:06 PM
  • foca
    foca created the ticket at 8:59 PM

    link_to ignores the value of the :remote option, only taking into account if the option is there or not. This patch adds the ability to pass :remote => false in...

Monday, February 01 2010
3838 with_exclusive_scope does not override the default_scope when each provides I... was created in Ruby on Rails
  • foca
    foca created the ticket at 10:36 PM
    class Page < ActiveRecord::Base
      default_scope where(:deleted_at => nil)
    
      def self.deleted
        with_exclusive_scope :find => where('pages.deleted_at IS NOT ...