Sha256: 182948a79d11bd0d3b6b2105f34a823d66d2bc38e310d5c37d99140b277bd457
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
Description: Stubs out a new asset placeholders. Pass the asset name, either CamelCased or under_scored. To create assets within a folder, specify the assets name as a path like 'parent/name'. This generates a JavaScript stub in app/assets/javascripts and a stylesheet stub in app/assets/stylesheets. If CoffeeScript is available, JavaScripts will be generated with the .coffee extension. If Sass 3 is available, stylesheets will be generated with the .scss extension. Example: `rails generate assets posts` Posts assets. Javascript: app/assets/javascripts/posts.js Stylesheet: app/assets/stylesheets/posts.css
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
railties-3.1.0.beta1 | lib/rails/generators/rails/assets/USAGE |