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.

Andriy Tyurnikov's latest activity

Thursday, May 19 2011
6791 url_for() raising exceptions when HTTP streaming enabled was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 2:22 PM

    ...and this is not the only case when url_for() raising exception

    render :stream => true or class method
    stream effect is same

    unicorn config line

    listen :tcp_n...

Tuesday, May 17 2011
6786 Association Extension - Association proxy missing was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 4:35 PM

    Method

      def proxy_owner
        @owner
      end
    

    is simply not there anymore.

    How we should extend associations now?

Monday, May 02 2011
6764 Strange encoding message in master branch was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 10:12 AM

    Installing RDoc documentation for activesupport-3.1.0.beta...
    ERROR: While generating documentation for activesupport-3.1.0.beta
    ... MESSAGE: incompatible chara...

Tuesday, April 05 2011
6673 Scoped uniqueness validation of associated objects was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 11:41 AM

    class Poll < ActiveRecord::Base
    has_many :answers

    validates_associated :answers

    accepts_nested_attributes_for :answers, :allow_destroy => true end

    class Answer ...

Saturday, March 12 2011
6556 length validation for integer (fixnum) fields was updated in Ruby on Rails
Thursday, March 10 2011
6556 length validation for integer (fixnum) fields was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 5:58 PM

    So far length validation using value.size for comparsion, which fails for integers/fixnums (10.size = 8, ruby 1.9.2, if it is important)

    Usage of value.to_s.siz...

Saturday, January 29 2011
6317 ActiveRecord MySQL zero-filled DATETIME processing was updated in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov commented at 9:26 PM

    Hmm, good point.
    So it looks like MySQL accepts and stores values which are not supported according to MySQL docs (

Thursday, January 20 2011
6317 ActiveRecord MySQL zero-filled DATETIME processing was created in Ruby on Rails
  • Andriy Tyurnikov
    Andriy Tyurnikov created the ticket at 9:42 AM

    Environment: ruby 1.9.2, rails 3.0.3, mysql 5.1.54.
    MySql database has record with created_at field - datetime type.
    Value of the field is '0000-00-00 00:00:00'...