[Rails] Re: help with partial

2008-11-21 Thread Frederick Cheung
On 20 Nov 2008, at 18:59, Jose vicente Ribera pellicer wrote: Sorry. I think this is the solution that you're trying to show me: def expotar #THIS METTOD SHOULD SELECT ALL THE CURRENT TICKETS IN CARTICKET, i think works wroung @cartticket = find_cartticket @[EMAIL PROTECTED]

[Rails] Re: help with partial

2008-11-21 Thread Jose vicente Ribera pellicer
thanks a lot!! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To

[Rails] Re: help with partial

2008-11-20 Thread Jose vicente Ribera pellicer
Frederick Cheung wrote: On Nov 19, 11:24�pm, Jose vicente Ribera pellicer rails-mailing- [EMAIL PROTECTED] wrote: Showing tickets/exportar.html.erb where line #9 raised: You have a nil object when you didn't expect it! The error occurred while evaluating nil.items You don't seem to be

[Rails] Re: help with partial

2008-11-20 Thread Frederick Cheung
On 20 Nov 2008, at 15:37, Jose vicente Ribera pellicer wrote: Frederick Cheung wrote: On Nov 19, 11:24�pm, Jose vicente Ribera pellicer rails-mailing- [EMAIL PROTECTED] wrote: Showing tickets/exportar.html.erb where line #9 raised: You have a nil object when you didn't expect it! The

[Rails] Re: help with partial

2008-11-20 Thread Jose vicente Ribera pellicer
Sorry. I think this is the solution that you're trying to show me: def expotar #THIS METTOD SHOULD SELECT ALL THE CURRENT TICKETS IN CARTICKET, i think works wroung @cartticket = find_cartticket @[EMAIL PROTECTED] headers['Contenet-type']=aplication/vnd.ms-excel