-
Notifications
You must be signed in to change notification settings - Fork 329
Integration
scambra edited this page Dec 15, 2014
·
18 revisions
ActiveScaffold by itself comes alone so you decide what to use or how to integrate into your solution, allowing to be flexible and avoid dependency problems. Following that approach, there are many gems you can install and ActiveScaffold will integrate them very well out of the box. Note that some of them need some config. So read on:
- active scaffold export Export to CSV plugin
- dragonfly Images & files support
- paperclip Images & files support
- carrierwave Images & files support
- file_column Images & files support
- active scaffold batch Mass data handling
- active scaffold duplicate Clone record gem for Activescaffold
- paper_trail Track versions and changes
- Record Select Fancy select box alternative, with ajax autocomplete. Very suitable for long datasets
- ancestry Tree structured associations support
- active scaffold sortable Drag and drop sorting
- active scaffold config list Adds UI for columns list configuration per user/session
- active scaffold signaturepad Adds UI for signature on touch devices, using jquery.signaturepad
- bitfields Show check boxes for integer bitfields, grouped by bitfield.
- tiny mce Formatted Text Editor
- chosen Make long, unwieldy select boxes more user friendly
As global user & management integration notes, you need to know that Active Scaffold uses “current_user” method to refer to interacting user in controllers, methods, helpers and views. Devise use the same convention, so you don’t have to do anything there. But in case you use another name, say account or just user, remember to set current_user_method in application_controller.rb:
ActiveScaffold.set_defaults do |config|
config.security.current_user_method = :current_login
end
-
CanCan
With CanCan you can control most of AS behavior and appearance per user and/or role. Add cancan as instructed