[Rails] Re: Same partial different results

2010-02-09 Thread brianp
Hey Colin, thanks for the reply. I did think to check for that and un-fortunately the html for the prompt (first option) is not generated at all. It immediately skips to the first object in the list, just as if the prompt wasn't there at all. On Feb 8, 1:43 am, Colin Law clan...@googlemail.com

[Rails] Re: Same partial different results

2010-02-09 Thread brianp
Just found my problem. %= collection_select(:Vehicle, box, list, box, box, I previously had :vehicle. Which I'm assuming wasn't actually being recognized as Model type due to case. Weird that it still functioned on the index but broke on the show. Either way it works now. Weird little glitch I

Re: [Rails] Re: Same partial different results

2010-02-08 Thread Colin Law
On 7 February 2010 23:19, brianp brian.o.pea...@gmail.com wrote: So it turns out it's not just the partial. Any dropdown select i ad to that page will not properly display :prompt. Now I have an ajax update method so If i change the select all selects are reloaded. And as soon as I change one

[Rails] Re: Same partial different results

2010-02-07 Thread brianp
So it turns out it's not just the partial. Any dropdown select i ad to that page will not properly display :prompt. Now I have an ajax update method so If i change the select all selects are reloaded. And as soon as I change one they all act accordingly with prompt displayed properly. So it seems