Skip to content
base template for rails app
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
lib
public
spec/acceptance/support
.gitignore
Capfile
Gemfile
LICENSE
README.rdoc
template.rb

README.rdoc

base_app

Template for Rails 3.0 apps

Usage

rails new app -m github.com/danielvlopes/base_app/raw/master/template.rb

Public folder strategy

public/javascripts
|-- README.md
|-- admin
| |-- date.js
| `-- datePicker.js
|-- common
| |-- application.js
| |-- jquery-1.3.2.js
| |-- jquery-ui-1.5.3.js
| |-- jquery.facebox.js
|-- superfolio
| |-- _plugins
| | |-- jquery.autocomplete.js
| | `-- jquery.truncate.js
| | `-- jquery.superfolio.toggle.js
| |-- application.js
| |-- blob.js
  `-- commit.js
  • It allows to namespace specific files to specific layouts (admin, superfolio, etc) and share files between apps (common).

  • I can lay out files however I want within each of these namespaces, and reorganize them at will.

  • All jquery plugins should have jquery. and app specific plugins should be jquery.appname.pluginame.

License

This project is released under the MIT License, including all CSS and design stuffs.

Copyright

Copyright © 2010 Daniel Lopes. See LICENSE for details.

Something went wrong with that request. Please try again.