Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
radiant-polls-extension
Advanced tools
h1. Polls Extension
This is a significant fork of the original at https://github.com/nuex/radiant-polls-extension ("Web polls for Radiant CMS.")
h2. Differences in this Fork
h2. Installation
Using Bundler:
gem "radiant-polls-extension", :git => "https://github.com/avonderluft/radiant-polls-extension.git"
h2. Usage
** modify the body tag thus:
Poll of the Week
Answers Results (%)
If polls are defined with a start date, then the current poll (defined as the poll that has the latest start date that is no later than the current date) can be accessed without the use of the title attribute (i.e., <r:poll>...</r:poll>).
Poll "archives" can also be listed, using pagination via the will_paginate plugin.
<r:polls per_page="10" by="start_date" order="desc"> <r:each:poll>
<r:title />
<r:options:each> </r:options:each>Answer | Result |
---|---|
<r:title /> | <r:number_responses /> (<r:percent_responses />%) |
h2. To do
h2. Note and Caveats
If you are using the Oracle Enhanced Adapter, you may want to add this to your environment.rb, in the after_initialize block:
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.emulate_dates = true
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.emulate_dates_by_column_name = true
h2. Acknowledgements
FAQs
Unknown package
We found that radiant-polls-extension demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.