EppO
Not a member
EppO's latest activity
Thursday, December 11 2008
1519
named_scope not preserving self
was updated
in Ruby on Rails
-
EppO commented at 2:44 PMformatting mistake (what a pity no preview available), I put again my script/console test:
Loading development environment (Rails 2.2.2) >> forum = Forum.fi... -
EppO commented at 2:42 PMThere is something wrong somewhere...
@@ Loading development environment (Rails 2.2.2)
forum = Forum.first => #Topic.untracked(forum.topics) SystemStackError:...
Monday, December 08 2008
1519
named_scope not preserving self
was updated
in Ruby on Rails
-
EppO commented at 11:32 PMPrevious error occured when I call Child.things
If I run Child.active and Child.other by hand in irb, that works. don't know why, but seems that error is relate...
-
EppO commented at 11:26 PMI tried your example with a fresh rails project and an error occurs (tested on OS X and debian linux):
>> Child.all => [#, #, #]
Child.things SystemStackError...
Friday, December 05 2008
1519
named_scope not preserving self
was created
in Ruby on Rails
-
EppO created the ticket at 5:55 PMI have 2 named_scope in my topic model:
class Topic < ActiveRecord::Base belongs_to :forum, :counter_cache => true belongs_to :user named_scope :track...