2009/11/17 malathi selvaraj <[email protected]>:
> i don't know what is that purpose of the tag,just i saw that program in
> tutorial only.

In that case you need to start by learning a lot more about Ruby.  I
think if you check the tutorial carefully you will find you have
copied it incorrectly, there should be no end there.   I suggest that
you might start by looking at the Rails Guides (particularly Getting
Started), but also as I said find some primers on Ruby first so that
you at least have a grasp of the basics.  The RailsCasts are also
excellent.

Colin

>
> On Tue, Nov 17, 2009 at 3:35 PM, Colin Law <[email protected]> wrote:
>>
>> 2009/11/17 malathi selvaraj <[email protected]>:
>> > uploadfile.rhtml : http://pastebin.com/m25d1f3ba
>>
>> So it does not like <% end %>
>> Can you explain what is the purpose of that line?
>>
>> Colin
>>
>> >
>> > error :http://pastebin.com/m150b261e
>> >
>> > On Tue, Nov 17, 2009 at 3:16 PM, Colin Law <[email protected]>
>> > wrote:
>> >>
>> >> 2009/11/17 malathi selvaraj <[email protected]>:
>> >> > SyntaxError in Upload#index
>> >> >
>> >> > Showing app/views/upload/uploadfile.rhtml where line #10 raised:
>> >> >
>> >> > compile error
>> >> > app/views/upload/uploadfile.rhtml:10: syntax error
>> >> >
>> >> > Extracted source (around line #10):
>> >> >
>> >> > 7: <% end  %>
>> >>
>> >> Post the contents of uploadfile.rhtml up to that line please, there is
>> >> a syntax error there somewhere.  Have a close look at each line
>> >> yourself first however and see if you can see it.  Post the exact
>> >> error also please.
>> >>
>> >> Colin
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Regards,
>> > S.Malathi.
>> >
>> >
>> > >
>> >
>>
>>
>
>
>
> --
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to