Skip to content

nasmorn/rails-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

To use these generator templates I recommend adding this function to your bash profile.

  function railsapp {
    template=$1
    appname=$2
    shift 2
    rails $appname -m http://github.com/nasmorn/rails-templates/raw/master/$template.rb $@
  }
You can then use this "railsapp" command instead of the traditional "rails" one. Simply pass the template name as the first argument:

  railsapp base store
That will generate a Rails app using the base.rb template found here.

—

I have stolen this from Ryan Bates but since I am much lamer I add this info below which one should probably know :)
$ mate .bash_profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages