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.

Valentine Bichkovsky's latest activity

Thursday, March 17 2011
5985 Remove the claim of 1.9.2 compatibility from guides. was updated in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky commented at 4:22 PM

    What we did is in my previous message (copied builder 3 files into /lib/builder).

Wednesday, November 24 2010
6058 update_all ignores conditions, when :orders and :limit options are supplied was created in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky created the ticket at 6:03 PM

    Rails version: 3.0.2 and 3.0.3 (no such bug in Rails 3.0.1)
    Ruby 1.8.7
    Adapter: postgres

    In code:

    Reservation.update_all("status = 'ready'", 
      ["date = ? and ...
Thursday, November 18 2010
5985 Remove the claim of 1.9.2 compatibility from guides. was updated in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky commented at 1:02 PM
  • Valentine Bichkovsky
    Valentine Bichkovsky commented at 1:00 PM

    What I've found so far.
    Clean Rails 3.0.3 install with Ruby 1.9.2-p0 (using RVM) works fine:

    rails c
    require 'builder'; Builder::XmlMarkup.new
    => #<Builder::Xm...

Saturday, June 26 2010
3670 Eager loading doesn't respect :order of association was updated in Ruby on Rails
  • Valentine Bichkovsky
    • Importance changed from to Low
    by Valentine Bichkovsky at 11:01 PM

    I've spent a couple of hours on this (or similar) problem today.
    Rails version: 2.3.5 and 2.3.8.
    Sample code:

    class RentAgreement < ActiveRecord::Base
      has_ma...
Thursday, April 29 2010
4149 strange 'require' behavior in development environment was updated in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky commented at 11:37 AM

    Neeraj Singh, it is not the 'require' statement, that causes an error. Try to actually use open-uri in your code, like opening some URL in some of your model's ...

Wednesday, March 10 2010
4149 strange 'require' behavior in development environment was created in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky created the ticket at 7:37 PM

    My model uses 'open-uri' to download images from remote locations.
    In file app/models/asset.rb:

    require 'open-uri'
    class Asset < ActiveRecord::Base
    ...
     def so...
4146 Multiline string in 'where' condition produces incorrect SQL was updated in Ruby on Rails
  • Valentine Bichkovsky
    Valentine Bichkovsky commented at 1:59 PM
  • Valentine Bichkovsky
    Valentine Bichkovsky created the ticket at 1:59 PM

    This piece of code:

    class Asset
    ...
     scope :by_text, lambda {|text|
      unless text.blank?
       includes(:tags).where(
       "(asset_translations.locale = :loc and 
     ...