forked from activescaffold/active_scaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
Integration
Sergio Cambra edited this page Jul 11, 2013
·
13 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
- 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
- bitfields Show check boxes for integer bitfields, grouped by bitfield.
- tiny mce Formatted Text Editor
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