default_scope can not be used in hobo 1.4.pre1
Reported by ronin-25958 (at lighthouseapp) | March 26th, 2012 @ 07:03 PM | in Hobo 1.4 for Rails 3.2.X
The use of e.g.
default_scope :order => "position ASC"
in hobo 1.4.pre1 raises SystemStackError: stack level too
deep.
Tested with ruby-1.9.3-p125 and ruby-1.9.2-p318
Comments and changes to this ticket
-
Bryan Larsen March 27th, 2012 @ 11:14 PM
- State changed from new to open
- Milestone set to Hobo 1.4 for Rails 3.2.X
- Milestone order changed from 132469 to 0
confirmed.
-
Bryan Larsen April 3rd, 2012 @ 09:55 PM
(from [c36ce397cd19bbbb426e889043926b17ecad646d]) [#1002] break infinite recursion that occurs when you use default_scope https://github.com/tablatom/hobo/commit/c36ce397cd19bbbb426e8890439...
-
Bryan Larsen September 4th, 2012 @ 04:24 PM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »