Sha256: 85a09dcdc35c83983fe74447134c3120cbb2805ac8b1e8b3842faebcdf29cff6
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 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.rc1' === 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 g beautiful_scaffold product name:string price:price tva:float description:richtext visible:boolean && rake db:migrate # Example : admin products rails g beautiful_scaffold product name:string price:price tva:float description:richtext overview_description:richtext visible:boolean --namespace=admin && rake db:migrate === Migration (Use Add[Field]To[ModelPluralize] syntax) rails g beautiful_migration AddFieldToModels field:type === Locale (i18n) (Example) rails g beautiful_locale all rails g beautiful_locale fr rails g beautiful_locale de === Join Table (has_and_belongs_to_many relation) rails g beautiful_jointable model1 model2 === Install et Configure Devise (authentification) and Cancan (authorization) rails g beautiful_devisecancan model
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
beautiful_scaffold-0.3.0.rc1 | README.rdoc |