Sha256: a97e57c7648278f94233232c4343b8948eebee0af023895d7fb9dc77ab22dd50

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 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

=== RubyOnRails 3.X

Add this in your Gemfile :
gem 'beautiful_scaffold', '0.2.7'

=== RubyOnRails 4.X

Add this in your Gemfile :
gem 'beautiful_scaffold', '0.3.0'

=== Next

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

1 entries across 1 versions & 1 rubygems

Version Path
beautiful_scaffold-0.3.0.pre README.rdoc