Location of CSS and Javascript code in a rails app

Hi,

I am new to RoR. Need suggestion for ideal directory/location to keep
CSS/Javascript files. I have my dynamic HTML code in app/views location.

Listing auto-generated directories for a rails application.

app log script tmp config db lib public test
vendor

Thanks.

Might be best to go through the Ruby on Rails Tutorial (
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book), but you’re
looking for assets under app.

Thanks, Brandon. I can see rails generated Javascript and CSS code under
assets directory. Will put any custom code as well in these locations.


Regards,
Ankur K. | +91-9739213628
Lin http://in.linkedin.com/in/specialankur | Tw
http://twitter.com/#!/tweet2ankur | Fb
http://www.facebook.com/WriteToAnkur

That Rails Tutorial I linked to in conjunction with The Rails 4 Way
(Obie
Fernandez) are the absolute best references to Rails that cover
everything.
The Rails Tutorial will take you through the entirety of setting up a
full
application (Twitter Clone) as well as Test Driven Development and Git.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs