Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
= Active OLAP
This Rails plugin makes it easy to add a basic OLAP interface to your application, which is great for administration interfaces. Its main uses are collection information about the usage of your application and detecting inconsistencies and problems in your data.
This plugin provides:
In the future, the following functionality is planned to be included:
More information about the concepts and usage of this plugin, see the Active OLAP Wiki on GitHub: http://wiki.github.com/wvanbergen/active_olap. I have blogged about this plugin on the Floorplanner tech blog: http://techblog.floorplanner.com/tag/active_olap/. Finally, if you want to get involved or tinker with the code, you can access the repository at http://github.com/wvanbergen/active_olap/tree.
== Why use this plugin?
This plugin simply runs SQL queries using the find-method of ActiveRecord. You might be wondering why you would need a plugin for that.
First of all, it makes your life as a developer easier:
== Installation
To install the gem on your system, run:
gem install active_olap -s http://gemcutter.org
Alternatively, you can include them gem into your Rails project by adding it to the configuration in your environment.rb file:
gem.config 'active_olap', :source => 'http://gemcutter.org'
== Requirements
This plugin is usable for any ActiveRecord-based model. Because named_scope is used for the implementation, Rails 2.1 is required for it to work. It is tested to work with MySQL 5 and SQLite 3 but should work with other databases as well, as it only generates standard compliant SQL queries.
Warning: OLAP queries can be heavy on the database. They can impact the performance of your application if you perform them on the same server or database. Setting good indices is helpful, but it may be a good idea to use a copy of the production database on another server for these heavy queries.
Another warning: while this plugin makes it easy to perform OLAP queries and play around with it, interpreting the results is hard and mistakes are easily made. At least, make sure to validate the results before they are used for decision making.
== About this plugin
The plugin is written by Willem van Bergen for Floorplanner.com. It is MIT-licensed (see MIT-LICENSE).
If you have any questions or want to help out with the development of this plugin, please contact me on my github account.
FAQs
Unknown package
We found that active_olap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.