Sha256: e195b05d79c5d449544857df946654ffae0c35f4cf40986d91cdb9a1d26ccba3

Contents?: true

Size: 844 Bytes

Versions: 6

Compression:

Stored size: 844 Bytes

Contents

Blueberry Scaffold
==================

Scaffold generator used by Blueberry Apps. Features I18n support, Shoulda and Factory Girl tests. 


Usage
======
  
  script/generate blueberry_scaffold [namespace]/[name] [controller actions] [model attributes]
  
If you specify namespace, it will be used for controller not for model. Model attributes are
in format name:type.


Example
=======

  script/generate blueberry_scaffold book index show new create title:string author:string

This creates Book model class and test with title and author attributes. And
BooksController class & test with index, show, new and create actions. You can specify
any of REST actions (index, show, new, edit, create, update, destroy), if you don't specify any
all 7 actions are created by default.


Copyright (c) 2009 Jiří Zajpt, released under the MIT license

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jzajpt-blueberry_scaffold-0.1.0 README
jzajpt-blueberry_scaffold-0.1.1 README
jzajpt-blueberry_scaffold-0.2.1 README
jzajpt-blueberry_scaffold-0.3.0 README
jzajpt-blueberry_scaffold-0.3.1 README
jzajpt-blueberry_scaffold-0.3.2 README