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.

Alexey Ilyichev's latest activity

Wednesday, January 19 2011
5854 has_one :through on new record doesn't query for associated object was updated in Ruby on Rails
  • Alexey Ilyichev
    Alexey Ilyichev commented at 2:13 PM

    Hi, Jon.

    Thanks for the reply. Inverse_of does not solve anything in this case.

Thursday, December 30 2010
6226 before_filters overwriting each other was updated in Ruby on Rails
  • Alexey Ilyichev
    Alexey Ilyichev commented at 9:43 AM

    Seems it was intended this way. See commit ef692162.

Monday, December 27 2010
6226 before_filters overwriting each other was updated in Ruby on Rails
  • Alexey Ilyichev
    Alexey Ilyichev commented at 3:36 PM

    Originally we wanted to split some of our controllers into mixins, containing sets of actions, because in our app we have many namespaces that share alot of com...

  • Alexey Ilyichev
    Alexey Ilyichev commented at 3:02 PM

    It seems to me that this code from active_support/callbacks.rb (set_callback method) is what causes that behaviour. I wonder why it was made this way.

    filters....
  • Alexey Ilyichev
    Alexey Ilyichev created the ticket at 12:28 PM

    Hi!

    Consider this code:

    class UsersController < ApplicationController
      before_filter :log_filter_call, :only => :index
      before_filter :log_filter_call, :only...
Friday, October 22 2010
5854 has_one :through on new record doesn't query for associated object was updated in Ruby on Rails
  • Alexey Ilyichev
    Alexey Ilyichev commented at 4:24 PM

    Sorry for weird formatting. Code from previous post

    class User < AR
      has_one :user_info
      has_many :bank_infos
    end


    class UserInfo < AR belongs_to :user ...
  • Alexey Ilyichev
    Alexey Ilyichev created the ticket at 3:12 PM

    Given:

    class User < AR
      has_one :user_info
      has_many :bank_infos
    end
    class UserInfo < AR
      belongs_to :user
    end
    class BankInfo < AR
      belongs_to :user
      has_...