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

mobile_ninja

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobile_ninja

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

MobileNinja

Mobile Ninja makes it easy to detect mobile devices that access your rails applications. It allows you to write a different set of mobile-specific view templates and automatically serves the mobiles with those view templates.

Installation

Add this line to your application's Gemfile:

gem 'mobile_ninja'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install mobile_ninja

Usage

To enable Mobile Ninja, add this line to your application controller:

class ApplicationController < ActionController::Base
  enable_mobile_ninja
end

Then you can write new view templates for mobile devies and place them in the following directory.

app/views_mobile/

FAQs

Package last updated on 03 Nov 2013

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