Marek Kowalski
Not a member
Marek Kowalski's latest activity
Monday, October 26 2009
3165
ActiveRecord::MissingAttributeError after update to rails v 2.3.4
was updated
in Ruby on Rails
-
Marek Kowalski commented at 10:09 AMRob, of course you are right, this is sensible approach. But you also have to take into consideration that some lame developer could forget about accessing the ...
Sunday, October 25 2009
3165
ActiveRecord::MissingAttributeError after update to rails v 2.3.4
was updated
in Ruby on Rails
-
Marek Kowalski commented at 10:02 AMRob,
In fact in Rails 2.3.2 the after_find filter was not fired but I found out about it just when I was debugging the issue with missing attributes. Why I thin...
-
Marek Kowalski commented at 9:54 AMRob,
In fact in Rails 2.3.2 the after_find filter was not fired but I found out about it just when I was debugging the issue with missing attributes. Why I thin...
Saturday, October 24 2009
3165
ActiveRecord::MissingAttributeError after update to rails v 2.3.4
was updated
in Ruby on Rails
-
Marek Kowalski commented at 12:40 PM- In my opinion #exists? should instantiate the object. At least I would expect the after_find filter to be fired.
Thursday, September 17 2009
3165
ActiveRecord::MissingAttributeError after update to rails v 2.3.4
was updated
in Ruby on Rails
-
Marek Kowalski commented at 4:34 PMI spend some time debugging this issue and the problem is with the ActiveRecord::Base.exists? method. In Rails 2.3.2 it looked like this:
def exists?(id_o...