petRUShka
Not a member
petRUShka's latest activity
Wednesday, December 15 2010
6167
Strange behaviour of assert_redirected_to
was created
in Ruby on Rails
-
petRUShka created the ticket at 8:42 AMI 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
Sunday, August 01 2010
5268
Rails3: find_by_property1_and_property2 for has_many associations was broken ...
was created
in Ruby on Rails
-
petRUShka created the ticket at 9:12 PMclass City < ActiveRecord::Base has_many :locations, :dependent => :destroy endCommon 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 commented at 1:20 PMIt'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 commented at 1:05 PMFull code of model CityPrice with callbacks:
class CityPrice < ActiveRecord::Base belongs_to :city after_update :destroy_if_price_blank private def ... -
petRUShka created the ticket at 12:16 PMI 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
-
petRUShka commented at 2:52 PMI'm sorry. This is bug of gem 'russian' ( http://github.com/yaroslav/russian/ ). Soulution is upgrade gem version ( http://github.com/yaroslav/russian/issues/cl...
-
petRUShka created the ticket at 2:42 PMLine, where application failed:
<td><%=l user_request.created_at, :format => :short%></td>Error:
/opt/ruby1.8/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib...
Monday, June 28 2010
4994
Rails3: observer in config/application.rb brokes rake db:migrate
was created
in Ruby on Rails
-
petRUShka created the ticket at 12:38 PMuser@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...