On 11 November 2011 10:50, RockStar <pshahna...@colcentric.com> wrote: > Dear all, > > I would like to share my current bug which really bothers me alot... > Recently, i have found this uploadify code on rails along with amazon > c3 (https://github.com/blazingcloud/rails-uploadify-s3) > Actually, I have setup everything according to this github project > tutorial ... > > But Only having this follow below error when i load the page ... > > TypeError in User_files#new > Showing /home/mypro/mypro/app/views/user_files/new.html.erb where line > #18 raised: > can't convert nil into String > Extracted source (around line #18): > 15: }", > 16: :on_error => "function(type, text) { alert(type + > '' + text); > 17: }" > 18: }) %>
Something in the statement above (which starts off the front of the code you have shown) is nil. I would simplify the statement, removing a bit at a time, until the error goes, then you will know what it is that is nil. Colin -- 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 unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.