Sha256: ea385d8dd347cafbdfe94389dacce1683a3bf7537e3bca0a7028fe32c59370d5

Contents?: true

Size: 1.03 KB

Versions: 1

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.2.0'
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

1 entries across 1 versions & 1 rubygems

Version Path
beautiful_scaffold-0.2.1 README.rdoc