** NOTE - This gem depends on e9_base, but does not reference it. It WILL NOT FUNCTION for apps which aren’t built on the e9 Rails 3 CMS **
Provites a Poll renderable for the e9 Rails 3 CMS.
Include the gem and run the install generator to copy over the necessary files, then migrate.
rails g e9_polls:install
This will install the db migration, the JS and CSS required for the plugin to function properly, and an initializer.
Modify the CSS as you see fit and the JS as required (carefully).
Check out the initializer and modify if necessary. For non-Ajax fallbacks it uses the ‘application’ layout. This should be changed if the app doesn’t use application layout as a sensible default.
Migrate the database.
There is no #4.