Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A set of Rails templates that we use at AENTOS to get our projects started really quickly and concentrate and developing customer value.

branch: master
README.md

Usage

  • If you are using Rails >= 3.0.4: rails new app_name -J -m https://github.com/aentos/rails3-templates/main.rb

  • If you are using an older version of Rails 3, there is a bug in Rails that prevents from using https URLs in the template paths. This was fixed in Rails 3.0.4. More info here. You will have to clone this repo and then provide a relative path on your filesystem, e.g.: rails new app_name -J -m rails3-templates/main.rb

About

This template comes with a suite of opinionated components that we find end up using in almost all of our projects. Other components that might depend on the project are presented as a set of questions for you to choose from or skip.

Stuff it will put in your app without asking

Development

Testing (unit and acceptance tests)

Markup and styles

Other

Stuff it will let you choose from or opt-in

Authentication framework

Paginator

Form builders

Deployment

  • Capistrano multistage ready to go: It will ask for the repo and server URLs for staging and production and configure your capistrano recipe so you can deploy to both environments from the very beginning
  • Heroku: It will prepare your repo for Heroku and it will create your staging and production apps and deploy if you want to.
  • or skip this step

Locales for i18n

Will ask for a list of locales and download them for you

Permalinks

If you opt-in the template will install friendly_id for you to deal with permalinks.

Track errors

  • hoptoad_notifier to track application errors
  • exceptional to track your app's errors (this option is activated when deploying to heroku)

Contributions

Feel free to fork the repo and send pull requests.

Maintainers

Contributors

Issues

If you find bugs please report them in the issue tracker here.

License

The short version

Do you what you want.

The long version

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.