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.

petRUShka's latest activity

Wednesday, December 15 2010
6167 Strange behaviour of assert_redirected_to was created in Ruby on Rails
  • petRUShka
    petRUShka created the ticket at 8:42 AM

    I have such lines in routes.rb:

    resource :order
    match '/' => 'orders#new', :constraints => { :subdomain => /.+/ }
    

    And in controller I have:

    redirect_to new_o...
Monday, August 02 2010
5268 Rails3: find_by_property1_and_property2 for has_many associations was broken ... was updated in Ruby on Rails
  • petRUShka
    petRUShka commented at 8:48 AM

    After upgrade to this commit all is ok :)

    Thanks.

Sunday, August 01 2010
5268 Rails3: find_by_property1_and_property2 for has_many associations was broken ... was created in Ruby on Rails
  • petRUShka
    petRUShka created the ticket at 9:12 PM
    class City < ActiveRecord::Base
      has_many :locations, :dependent => :destroy
    end
    

    Common has_many association. Before upgrade to RC it was ok. But after upgra...

Wednesday, July 21 2010
5169 Rails3: Nested attributes broke update_attributes was updated in Ruby on Rails
  • petRUShka
    petRUShka commented at 1:20 PM

    It's seemed that I found a source of error. I remove to-csv plugin from app and error was disappeared.
    I create an issue in issue tracker of this plugin: http:/...

  • petRUShka
    petRUShka commented at 1:05 PM

    Full code of model CityPrice with callbacks:

    class CityPrice < ActiveRecord::Base
      belongs_to :city
    
      after_update :destroy_if_price_blank
    
      private
    
      def ...
  • petRUShka
    petRUShka created the ticket at 12:16 PM

    I have two models, cities and city_prices:

    class City < ActiveRecord::Base
      has_many :city_prices, :dependent => :destroy
      accepts_nested_attributes_for :cit...
Tuesday, June 29 2010
5004 Rails 2.3.8: upgrade to 2.3.8 brokes helper localize was updated in Ruby on Rails
Monday, June 28 2010
4994 Rails3: observer in config/application.rb brokes rake db:migrate was created in Ruby on Rails
  • petRUShka
    petRUShka created the ticket at 12:38 PM
    user@linux-equf:~/proj/my_app> rake db:migrate --trace
    (in /home/user/proj/my_app)
    ** Invoke db:migrate (first_time)
    ** Invoke environment (first_time)
    ** Exec...
Tuesday, June 15 2010
4865 [Feature Request] add :if / :unless conditions for attr_accessible, attr_prot... was updated in Ruby on Rails
  • petRUShka
    petRUShka commented at 9:28 PM

    May be you are right