Sha256: a6d64d6adb5b88a80045dd074ba215bc58e84e2f7a6f26f609d2fd7c8d1c44a0

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 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.2.5'
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

=== Install et Configure Devise (authentification) and Cancan (authorization)

rails generate beautiful_devisecancan model

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beautiful_scaffold-0.2.6 README.rdoc
beautiful_scaffold-0.2.5 README.rdoc