i got the error on view file.
how to solve this.
error:
SyntaxError in Upload#index
Showing *app/views/upload/uploadfile.rhtml* where line *#7* raised:
compile error
app/views/upload/uploadfile.rhtml:7: syntax error
@output_buffer.concat(( end ).to_s); @output_buffer.concat "\n"
^
Extracted source (around line *#7*):
4: <p><label for="upload_file">Select File</label> :
5: <%= file_field ''upload'', ''datafile''
%></p>
6: <%= submit_tag "Upload" %>
7: <%= end %>
Trace of template inclusion: app/views/upload/uploadfile.rhtml
RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/upload#> | Framework
Trace<http://localhost:3000/upload#>| Full
Trace <http://localhost:3000/upload#>
app/views/upload/uploadfile.rhtml:12:in `compile!''
/home/malathi/www/upload/app/controllers/upload_controller.rb:3:in
`index''
--
Regards,
S.Malathi.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---