Sha256: 58cb065a046a3f0182138b0ead2267f31c476c26f78e60422fd3f54e4ed8b72a

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

= Beautiful Scaffold

Beautiful Scaffold is a gem which propose generators for a complete scaffold with paginate, sort and filter.
Fully customizable.
More info : http://www.beautiful-scaffold.com/
Demo : http://demo.beautiful-scaffold.com/

== Install

Add this in your Gemfile :
gem 'beautiful_scaffold', '0.1.8'
And run
bundle install

== Usage

=== Scaffold

rails generate beautiful_scaffold model attr:type attr:type... [--namespace=name]

type available :
* integer
* float
* text
* string
* price
* color
* richtext
* wysiwyg

# Example : products
rails generate beautiful_scaffold product name:string price:price tva:float description:richtext visible:boolean && rake db:migrate

# Example : admin products
rails generate beautiful_scaffold product name:string price:price tva:float description:richtext overview_description:richtext visible:boolean --namespace=admin && rake db:migrate

=== Locale (i18n)

rails generate beautiful_locale all

=== Join Table (has_and_belongs_to_many relation)

rails generate beautiful_jointable model1 model2

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beautiful_scaffold-0.2.0 README.rdoc
beautiful_scaffold-0.1.9 README.rdoc