has many :through causes "Stack level too deep error"
-
Mislav
- State changed from new to open
- Assigned user changed from Chris Wanstrath to Mislav
Thanks for the short and complete bug report. This looks serious, I'm going to investigate. First thing I'll try to do is a failing test based on your setup.
-
Mislav
Please try with Rails 2.1 final and "mislav-will_paginate" gem from http://gems.github.com
Report back the result
-
Deleted User
Hey Mislav, i tested this out and it worked just peachy. I blogged about it here.
-
Vince Wadhwani
I unpacked the gem and manually copied over the contents into my projects vendor/plugin.. probably not the best way to do it but it does work for me now (Ruby 1.8.7 Rails 2.1 final on Debian) Thanks!
-
Mislav
Hey Vince,
You could have just done this:
script/plugin install git://github.com/mislav/will_paginate.git
But why did you have to do it? Latest "mislav-will_paginate" gem works fine
with Rails 2.1.
On Fri, Jun 6, 2008 at 2:24 AM, Lighthouse
wrote:
-
Vince Wadhwani
Hi Mislav,
Bah, I think I may have accidentally uninstalled the gem which would explain the errors I got and why I unpacked/copied. Sorry.. in any case, thanks for the link to the plugin!
-Vince
-
Mislav
- State changed from open to resolved
-
FotoVerite
- Tag set to edge, gem, will_paginate
Found the error was using the validation
validates_associated :image_gallery, :on => :create
will send full code if you think it will track down why this is happening.
-
Roger
see also http://rails.lighthouseapp.com/p...
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.