New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

active_path

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active_path

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ActivePath

ActivePath provides an interface for rendering your partials.

View Injection:

https://github.com/active-path/view-injection

Path Hints:

https://github.com/active-path/path-hints

Product Roadmap (TODO)

  • User docs
  • Specs and CI build

Custom Installation

Add to your Gemfile:

gem 'active_path'

Add the initializer config/initializers/active_path.rb and enable ActivePath:


ActivePath.configure do |config|

  config.enabled = true

end

Now create a subscriber where you will have access to context, buffer, options, locals and subscribe to the render_partial event:

require 'active_path/subscribers/subscriber'
class Subscriber < ActivePath::Subscribers::Subscriber
  def perform
    ...
  end
end
ActiveSupport::Notifications.subscribe(:render_partial, Subscriber.new)

--

Feel free to submit issues or help make it better.

FAQs

Package last updated on 30 Apr 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc