[Rails] Explicit named routes with has_many error

2010-02-18 Thread trev
I am very stuck on this problem. I know there is something simple I am missing, but I have been staring at it long enough to ask others at this point. The code: http://gist.github.com/307323 Basically, I have an assets controller that is only accessible through users (you cannot view an asset

[Rails] will_paginate urls and AJAX calls

2009-04-29 Thread trev
I am using will_paginate to paginate my site. I also have a link_to_remote in my view that will toggle view modes (from list to icon view). My will_paginate code works fine until I click on my link_to_remote. At that point my will_paginate code (which is in the partial that is updated in the