Hunt Hunt wrote:
> Hi to all,
> 
> I am a newbie in rails or ROR, can we use javascript in rails?
> Any documentation or blog will be welcome.
> 
> Regards
> Hunt

Hunt, looks like you have jumped into this question without bothering to 
google for it first,  anyway...here is how you include them

<%= javascript_include_tag "yourjavascript.js" %>
<%= javascript_include_tag :defaults %>

If you are looking for a working rails application, goto 
http://www.classifiedscript.in and download Craigslist Clone 
application.

Follow it and replicate your own as per your requirements. If you have 
question on the craigslist clone, ask them in the forum.  Anything 
regarding rails you can ask here.

Goodluck
-- 
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 [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