Location of CSS and Javascript code in a rails app


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


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.

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

That Rails Tutorial I linked to in conjunction with The Rails 4 Way
Fernandez) are the absolute best references to Rails that cover
The Rails Tutorial will take you through the entirety of setting up a
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